fix(header): stop homepage-only pull of header-slider-container
Align nav-fixed geometry with zibll: only .slide-header pulls under the bar; restore card container gutters so home overlay cards match other page types.
This commit is contained in:
@@ -11,15 +11,15 @@
|
||||
}
|
||||
}
|
||||
|
||||
/* CMS freeform modules only: hero as first module under nav.
|
||||
* Prefer --nav-fixed-reserve when body.nav-fixed is present so the pull-up
|
||||
* matches body padding-top (88/72/60), not just the 60px bar height. */
|
||||
/* CMS freeform: do NOT pull the whole container — nav pull is only on .slide-header
|
||||
* (zibll body.nav-fixed .slide-header). Whole-container pull made homepage cards
|
||||
* differ from other page types that share the same component. */
|
||||
.home-modules > .header-components-container:first-child,
|
||||
.home-modules--fullbleed > .header-components-container:first-child {
|
||||
margin-top: calc(var(--nav-fixed-reserve, var(--nav-height, 60px)) * -1);
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
/* Fixed homepage hero under-nav is owned by nav/base.css (body.nav-fixed). */
|
||||
/* Fixed homepage hero under-nav is owned by nav/zib-navbar-fixed.css (body.nav-fixed .slide-header). */
|
||||
|
||||
/* ============================================================
|
||||
* Layer 1: Swiper shell — zibll .new-swiper.slide-header
|
||||
|
||||
Reference in New Issue
Block a user