mirror of
https://gitlab.com/soapbox-pub/mkstack.git
synced 2026-12-05 16:33:36 +00:00
fixed safe area spacing for drawer buttons
This commit is contained in:
1 parent
80b48ae285
commit
e6cef5b87c
4 files changed
+33
-14
No files matched your search
@@ -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);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user