From 06b6982c1bab1651c404c98701bc034da1f12966 Mon Sep 17 00:00:00 2001 From: Jakub Date: Fri, 16 Feb 2024 21:43:03 -0500 Subject: [PATCH] fix dropdowns not animating --- static/css/style.css | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/static/css/style.css b/static/css/style.css index 5554cd3..92a5c11 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -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; } }