diff --git a/templates/index.html b/templates/index.html index 20fe358..5e9684b 100644 --- a/templates/index.html +++ b/templates/index.html @@ -116,14 +116,12 @@ } /* Обеспечиваем одинаковую высоту для всех карточек в панелях */ .row .card { - height: 100%; display: flex; flex-direction: column; } /* Карточка детализации занимает всю высоту родительского контейнера */ .card.h-100 { - height: 100%; display: flex; flex-direction: column; } @@ -166,13 +164,14 @@ .row .col-md-7 { display: flex; flex-direction: column; + height: calc(100vh - 150px); max-height: calc(100vh - 150px); } /* Ограничиваем высоту карточек */ .card.h-100 { height: 100%; - max-height: calc(100vh - 150px); + max-height: 100%; display: flex; flex-direction: column; }