Skip to content

Commit f0d3f93

Browse files
authored
fix: mobile navbar sidebar hidden behind secondary panel (#54)
The .navbar-sidebar__items--show-secondary class applies transform: translateX(-83vw) which hides sidebar content when custom CSS sets flex-direction: column on .navbar-sidebar__items. Adding transform: none !important overrides this.
1 parent 7b613c6 commit f0d3f93

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

website/src/css/custom.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1421,3 +1421,8 @@ a.sc-features-grid__item:hover {
14211421
filter: drop-shadow(0 6px 24px rgba(180, 100, 255, 0.7));
14221422
transform: translateY(-2px);
14231423
}
1424+
1425+
/* Fix mobile navbar sidebar: prevent secondary panel from translating off-screen */
1426+
.navbar-sidebar__items--show-secondary {
1427+
transform: none !important;
1428+
}

0 commit comments

Comments
 (0)