fixed safe area spacing for drawer buttons

This commit is contained in:
lemonknowsall committed 2025-10-30 18:23:39 -07:00
1 parent 80b48ae285
commit e6cef5b87c
4 files changed
+33 -14

No files matched your search

+19
View File
@@ -98,4 +98,23 @@
body {
@apply bg-background text-foreground;
}
}
@layer utilities {
/* Safe area inset utilities */
.pb-safe-bottom {
padding-bottom: env(safe-area-inset-bottom);
}
.mb-safe-bottom {
margin-bottom: env(safe-area-inset-bottom);
}
.pt-safe-top {
padding-top: env(safe-area-inset-top);
}
.mt-safe-top {
margin-top: env(safe-area-inset-top);
}
}