diff --git a/templates/index.html b/templates/index.html index b86e012..2249cb5 100644 --- a/templates/index.html +++ b/templates/index.html @@ -129,23 +129,24 @@ } .card.h-100 .card-body { - flex: 0 0 auto; - display: block; - padding: 1rem; - overflow: visible; - min-height: auto; + flex: 1; + display: flex; + flex-direction: column; + padding: 0; + overflow: hidden; + min-height: 0; } /* Скроллируемая область детализации */ .scrollable-details { - flex: 0 0 auto; - overflow: visible !important; + flex: 1; + overflow-y: auto !important; padding: 1rem !important; margin: 0 !important; position: relative; - min-height: auto; - height: auto; - max-height: none; + min-height: 0; + height: 0; + max-height: calc(100vh - 200px); } /* Контент внутри детализации */