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 }: {