diff --git a/src/components/Header/Header.module.css b/src/components/Header/Header.module.css index c9ffc2b..87867ea 100644 --- a/src/components/Header/Header.module.css +++ b/src/components/Header/Header.module.css @@ -26,25 +26,16 @@ pointer-events: auto; } .inactiveHeaderContent{ - opacity: 0; - pointer-events: none; - transition: opacity 0.3s ease; - position: absolute; - top: 0.8rem; - left: 0.8rem; + display: none; } .inactiveMobileMenu{ - max-height: 0; - position: absolute; - top: 100%; - left: 0; + display: none; } .activeMobileMenu{ - transition: max-height 3s ease; - max-height: 500px; + height: fit-content; display: flex; flex-direction: column; align-items: start;