fix navbar
This commit is contained in:
parent
765315ac46
commit
bfda267d45
|
@ -18,6 +18,6 @@ html, body {
|
|||
transition: max-height 0.3s ease;
|
||||
}
|
||||
|
||||
#target-main.show {
|
||||
#target-main.shows {
|
||||
max-height: 500px; /* Установите желаемую максимальную высоту */
|
||||
}
|
||||
|
|
|
@ -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');
|
||||
});
|
||||
});
|
Loading…
Reference in New Issue