fix navbar

This commit is contained in:
itqop 2024-03-18 00:05:17 +03:00
parent 765315ac46
commit bfda267d45
2 changed files with 2 additions and 2 deletions

View File

@ -18,6 +18,6 @@ html, body {
transition: max-height 0.3s ease;
}
#target-main.show {
#target-main.shows {
max-height: 500px; /* Установите желаемую максимальную высоту */
}

View File

@ -23,6 +23,6 @@ document.addEventListener("DOMContentLoaded", function() {
var targetMain = document.querySelector('#target-main');
navbarToggler.addEventListener('click', function() {
targetMain.classList.toggle('show');
targetMain.classList.toggle('shows');
});
});