fix: display full menu on mobile

This commit is contained in:
Benno Tielen 2026-06-24 07:44:54 +02:00
parent 2766dafd32
commit 498d310c72
3 changed files with 8 additions and 3 deletions

View file

@ -87,7 +87,7 @@
} }
.groupTitle { .groupTitle {
margin: 0; margin: 10px 0;
color: $dark-text; color: $dark-text;
} }
@ -103,7 +103,7 @@
.item { .item {
flex: 1 1 40%; flex: 1 1 40%;
height: 100px; height: 80px;
box-sizing: border-box; box-sizing: border-box;
padding: 10px; padding: 10px;
background-color: $shade3; background-color: $shade3;

View file

@ -71,6 +71,7 @@ const MegaMenuItem = ({text, quote, source, groups, onItemClick}: MegaMenuItemPr
<Link <Link
href={""} href={""}
className={styles.menuLink} className={styles.menuLink}
onClick={() => setIsActive(!isActive)}
> >
{text} <CollapsibleArrow direction={isActive ? "UP" : "DOWN"} stroke={1.5} /> {text} <CollapsibleArrow direction={isActive ? "UP" : "DOWN"} stroke={1.5} />
</Link> </Link>

View file

@ -77,7 +77,7 @@
} }
.megaMenuActive { .megaMenuActive {
max-height: 1000px; max-height: 800px;
} }
.search { .search {
@ -131,6 +131,10 @@
position: inherit; position: inherit;
} }
.megaMenuActive {
max-height: 1500px;
}
.navMobile { .navMobile {
display: flex; display: flex;
align-items: center; align-items: center;