fix dropdowns not animating

This commit is contained in:
Jakub 2024-02-16 21:43:03 -05:00
parent 3b62ff8a12
commit 06b6982c1b

View File

@ -118,7 +118,7 @@ a.home-link { display: none; }
.menu-btn:checked ~ .menu .menu-entries {
/* Reveal Entries */
height: auto;
max-height: 75%; /* May Need to be change manually for nav lists */
max-height: 750px; /* May Need to be change manually for nav lists */
overflow: scroll;
}
@ -388,7 +388,7 @@ blockquote.location p { padding: inherit; }
/* Show the lang-switch menu on hover */
.lang-btn:checked ~ .translation-list {
height: auto;
max-height: 70px;
max-height: 100px;
}
@media screen and (min-width: 1040px) {
@ -403,8 +403,11 @@ blockquote.location p { padding: inherit; }
}
.translation-list {
height: 0;
max-height: 0;
position: static;
width: auto;
transition: 400ms;
}
}