Работа на новой архитектуре

This commit is contained in:
Халимов Рустам
2026-03-20 01:12:00 +03:00
parent a48a0b0977
commit 473e9bcef6
8 changed files with 105 additions and 80 deletions

View File

@@ -570,7 +570,7 @@ function MessageBubble({
key={m.id}
src={m.url}
alt=""
className={`w-full h-full object-cover cursor-pointer hover:brightness-90 transition-all ${galleryMedia.length > 1 ? 'aspect-square' : isSingleGif ? 'max-h-[260px]' : 'max-h-[500px]'}`}
className={`w-full object-cover cursor-pointer hover:brightness-90 transition-all ${galleryMedia.length > 1 ? 'aspect-square h-full' : isSingleGif ? 'h-auto max-h-[260px]' : 'h-auto max-h-[500px]'}`}
onClick={() => setLightboxData({ index: idx })}
/>
)
@@ -791,7 +791,7 @@ function MessageBubble({
)}
{/* Реакции */}
{Object.keys(reactionGroups).length > 0 && (
<div className={`flex flex-wrap gap-1 mt-1.5 ${isMine ? 'justify-end' : 'justify-start'}`}>
<div className="flex flex-wrap gap-1 mt-1.5 justify-start">
{Object.entries(reactionGroups).map(([emoji, data]) => (
<button
key={emoji}