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:
1 parent
a25feb4161
commit
b8d6f70af3
4 files changed
+105
-26
No files matched your search
@@ -106,8 +106,17 @@ body:not(.nav-fixed) .header.show-slide {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
body.nav-fixed .slide-header {
|
||||
margin-top: -90px;
|
||||
/* Pull only the slide shell under fixed nav (zibll). Prefer --nav-fixed-reserve
|
||||
* so homepage and non-home page types share the same geometry. */
|
||||
body.nav-fixed .slide-header,
|
||||
body.nav-fixed .new-swiper.slide-header {
|
||||
margin-top: calc(var(--nav-fixed-reserve, 90px) * -1);
|
||||
}
|
||||
|
||||
/* Never pull the full multifunc container (breaks card overlap on homepage). */
|
||||
body.nav-fixed .header-slider-container,
|
||||
body.nav-fixed .header-components-container {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.scroll-down.nav-fixed .header.scroll-down-hide {
|
||||
|
||||
Reference in new issue
Block a user