diff --git a/templates/index.html b/templates/index.html index def7f65..b948fc3 100644 --- a/templates/index.html +++ b/templates/index.html @@ -146,6 +146,7 @@ position: relative; min-height: 0; height: 0; + max-height: calc(100vh - 180px); } /* Контент внутри детализации */ @@ -166,6 +167,15 @@ .row .col-md-7 { display: flex; flex-direction: column; + max-height: calc(100vh - 120px); + } + + /* Фиксируем высоту карточек */ + .card.h-100 { + height: 100% !important; + max-height: calc(100vh - 120px); + display: flex; + flex-direction: column; } .navbar-nav .dropdown-menu {