From a6320082ac6accaf4fc904f91eb7aaa143770a8d Mon Sep 17 00:00:00 2001 From: itqop Date: Mon, 18 Mar 2024 00:01:00 +0300 Subject: [PATCH] Fix navbar --- home/static/css/template.css | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/home/static/css/template.css b/home/static/css/template.css index 6994507..d75b93f 100644 --- a/home/static/css/template.css +++ b/home/static/css/template.css @@ -10,4 +10,14 @@ html, body { } .content { flex: 1; -} \ No newline at end of file +} + +#target-main { + max-height: 0; + overflow: hidden; + transition: max-height 0.3s ease; +} + +#target-main.show { + max-height: 500px; /* Установите желаемую максимальную высоту */ +}