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 *));
|
||||
|
||||
/* Construction banner spacing */
|
||||
body:has(.construction-banner) nav {
|
||||
top: 60px !important;
|
||||
}
|
||||
|
||||
/* 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;
|
||||
/* Construction banner spacing - push content down instead of nav */
|
||||
body:has(.construction-banner) {
|
||||
padding-top: 60px;
|
||||
}
|
||||
|
||||
:root {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user