Add max-width to menu to prevent going full-width on page loading

This commit is contained in:
Timothée Goguely 2024-10-16 15:57:50 +02:00
parent 8f04f8e569
commit eaf37f40d5

View file

@ -160,7 +160,8 @@ button[aria-controls="menu"][aria-expanded="false"] {
position: -webkit-sticky;
position: sticky;
top: var(--gutter);
width: var(--sidebar-width);
width: 100%;
max-width: var(--sidebar-width);
height: calc(100vh - var(--gutter) * 2);
height: calc(100dvh - var(--gutter) * 2);
padding: var(--gap);