Skip to content

Commit ffdc8a7

Browse files
committed
fix: change offline banner color to destructive and increase z-index to avoid navbar overlap
1 parent 381b02c commit ffdc8a7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

components/ui/offline-banner.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export function OfflineBanner() {
1919
<div
2020
role="alert"
2121
aria-live="polite"
22-
className="fixed top-0 left-0 right-0 z-50 bg-primary text-white px-4 py-2.5 flex items-center justify-center gap-2 shadow-md animate-in slide-in-from-top duration-300"
22+
className="fixed top-0 left-0 right-0 z-[60] bg-destructive text-destructive-foreground px-4 py-2.5 flex items-center justify-center gap-2 shadow-md animate-in slide-in-from-top duration-300"
2323
>
2424
<WifiOff className="w-4 h-4 shrink-0" aria-hidden="true" />
2525
<span className="text-sm font-medium">

0 commit comments

Comments
 (0)