fix: Change banner spacing approach to preserve nav alignment
- Remove CSS that moved navigation position (was causing alignment issues) - Add body padding instead to make room for banner - Navigation now stays at top:0 with proper internal alignment maintained
This commit is contained in:
parent
34b4095a20
commit
f292192e34
@ -3,19 +3,9 @@
|
|||||||
|
|
||||||
@custom-variant dark (&:is(.dark *));
|
@custom-variant dark (&:is(.dark *));
|
||||||
|
|
||||||
/* Construction banner spacing */
|
/* Construction banner spacing - push content down instead of nav */
|
||||||
body:has(.construction-banner) nav {
|
body:has(.construction-banner) {
|
||||||
top: 60px !important;
|
padding-top: 60px;
|
||||||
}
|
|
||||||
|
|
||||||
/* Ensure navigation content stays properly aligned when banner is present */
|
|
||||||
body:has(.construction-banner) nav .max-w-\[1800px\] {
|
|
||||||
height: 80px; /* h-20 equivalent */
|
|
||||||
}
|
|
||||||
|
|
||||||
body:has(.construction-banner) nav .flex.items-center {
|
|
||||||
height: 100%;
|
|
||||||
align-items: center;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
:root {
|
:root {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user