Fix navbar

This commit is contained in:
itqop 2024-03-18 00:34:55 +03:00
parent dce6127414
commit 2a8e260750
2 changed files with 11 additions and 8 deletions

File diff suppressed because one or more lines are too long

View File

@ -12,12 +12,15 @@ html, body {
flex: 1; flex: 1;
} }
#target-main { @media (max-width: 992px) {
max-height: 0; #target-main {
overflow: hidden; max-height: 0;
transition: max-height 0.5s ease; overflow: hidden;
transition: max-height 0.5s ease;
}
#target-main.show {
max-height: 500px; /* Установите желаемую максимальную высоту */
}
} }
#target-main.show {
max-height: 500px; /* Установите желаемую максимальную высоту */
}