This commit is contained in:
Bruno Rybársky 2024-01-17 10:47:44 +01:00
parent aaf99f9923
commit 7cf586603a

@ -154,7 +154,7 @@ header hr {
flex-direction: column;
overflow: hidden; /* Hide the content initially */
max-height: 0; /* Set the initial height to 0 */
border: 0px solid transparent; /* Set initial border */
border: 0 solid transparent; /* Set initial border */
transition: max-height 0.1s ease, border 0.1s ease; /* Add transition for smooth height and border animation */
}
@ -167,7 +167,7 @@ header hr {
/* Add this style for the transition when not hovering */
.navsite_item:not(:hover) .navpage_list {
max-height: 0; /* Set height to 0 when not hovering */
border: 0px solid transparent; /* Maintain border for the delay */
border: 0 solid transparent; /* Maintain border for the delay */
transition-delay: 0.1s; /* Delay the border fade-out transition */
}