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

View file

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

View file

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