From 9d12e157b1d697eceb1e3bab417cb1b91422d681 Mon Sep 17 00:00:00 2001 From: HotelSync Date: Fri, 17 Apr 2026 11:30:46 +0300 Subject: [PATCH] =?UTF-8?q?fix:=20notifications=20=E2=80=94=20unified=20da?= =?UTF-8?q?rk=20style,=20centered=20at=20bottom?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/PushBanner.tsx | 6 +++--- src/components/chat/ChatWidget.tsx | 14 +++++++------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/components/PushBanner.tsx b/src/components/PushBanner.tsx index 03ad80a..43c0b4e 100644 --- a/src/components/PushBanner.tsx +++ b/src/components/PushBanner.tsx @@ -50,8 +50,8 @@ export function PushBanner() { } return ( -
-
+
+
@@ -63,7 +63,7 @@ export function PushBanner() { className="text-xs font-semibold text-brand-300 hover:text-brand-200 disabled:opacity-50 transition-colors whitespace-nowrap"> {loading ? '...' : 'Включить'} -
diff --git a/src/components/chat/ChatWidget.tsx b/src/components/chat/ChatWidget.tsx index 52318fb..c78c9c1 100644 --- a/src/components/chat/ChatWidget.tsx +++ b/src/components/chat/ChatWidget.tsx @@ -1018,7 +1018,7 @@ export function ChatWidget() { {/* Toast notifications */} {toasts.length > 0 && ( -
+
{toasts.map(toast => ( -
- +
+
-

{toast.roomName}

+

{toast.roomName}

{showText ? ( -

+

{toast.senderName ? `${toast.senderName.split(' ')[0]}: ` : ''}{toast.text || 'Новое сообщение'}

) : ( @@ -1076,7 +1076,7 @@ function ToastNotifCard({ toast, showText, onClose, onClick }: {