set mobile menu width and height

This commit is contained in:
sefaria
2026-06-29 22:19:41 +02:00
parent c588ee102c
commit a3fc18ddef
+5 -4
View File
@@ -628,13 +628,14 @@ button:active, .button-primary:active, .logo:active {
.mobile-menu { .mobile-menu {
position: fixed; position: fixed;
top: 6.5rem; top: 7rem;
right: 1rem; right: 1rem;
bottom: 1rem;
left: 1rem; left: 1rem;
width: auto; width: auto;
max-width: 24rem; max-width: none;
margin-inline: auto; max-height: calc(100dvh - 7.5rem);
overflow-y: auto;
margin-inline: 0;
background: var(--panel); background: var(--panel);
backdrop-filter: blur(16px); backdrop-filter: blur(16px);
-webkit-backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);