diff --git a/home/static/css/template.css b/home/static/css/template.css index d75b93f..a5a19b3 100644 --- a/home/static/css/template.css +++ b/home/static/css/template.css @@ -18,6 +18,6 @@ html, body { transition: max-height 0.3s ease; } -#target-main.show { +#target-main.shows { max-height: 500px; /* Установите желаемую максимальную высоту */ } diff --git a/home/static/js/scripts.js b/home/static/js/scripts.js index 8859407..eb8e832 100644 --- a/home/static/js/scripts.js +++ b/home/static/js/scripts.js @@ -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'); }); }); \ No newline at end of file