mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-27 07:52:24 +00:00
Make app header sticky above content
This commit is contained in:
1 parent
8918927382
commit
24f1f0e1a3
4 files changed
+15
-4
No files matched your search
@@ -132,6 +132,16 @@
|
||||
@apply flex items-center justify-start py-sm;
|
||||
}
|
||||
|
||||
.app-shell__header {
|
||||
position: sticky;
|
||||
top: env(safe-area-inset-top, 0);
|
||||
z-index: var(--z-app-header);
|
||||
padding-top: calc(var(--space-sm) + env(safe-area-inset-top, 0));
|
||||
padding-bottom: var(--space-sm);
|
||||
background-color: var(--surface-base);
|
||||
box-shadow: var(--shadow-sm);
|
||||
}
|
||||
|
||||
.ds-metric-probe {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
|
||||
Reference in new issue
Block a user