diff --git a/templates/index.html b/templates/index.html index 8cd3e68..ccbf798 100644 --- a/templates/index.html +++ b/templates/index.html @@ -129,35 +129,38 @@ } .card.h-100 .card-body { - flex: 1; - display: flex; - flex-direction: column; - padding: 0; - overflow: hidden; - min-height: 0; + flex: 0 0 auto; + display: block; + padding: 1rem; + overflow: visible; + min-height: auto; } /* Скроллируемая область детализации */ .scrollable-details { - flex: 1; - overflow: hidden !important; - padding: 0 !important; + flex: 0 0 auto; + overflow: visible !important; + padding: 1rem !important; margin: 0 !important; position: relative; - min-height: 0; + min-height: auto; + height: auto; + max-height: none; } - /* Ограничиваем высоту контента внутри детализации */ + /* Контент внутри детализации */ .scrollable-details > div { - position: absolute !important; - top: 0 !important; - left: 0 !important; - right: 0 !important; - bottom: 0 !important; - overflow-y: auto !important; + position: relative !important; + top: auto !important; + left: auto !important; + right: auto !important; + bottom: auto !important; + overflow: visible !important; box-sizing: border-box; - padding: 15px; + width: 100%; + height: auto; } + .navbar-nav .dropdown-menu { min-width: 200px; }