From 277f04440071bb216439d37c274f9b7f64a5d9b4 Mon Sep 17 00:00:00 2001 From: Professional Date: Fri, 23 May 2025 20:45:40 +0700 Subject: [PATCH] =?UTF-8?q?=D1=84=D0=B8=D0=BA=D1=81=20=D0=B0=D0=BD=D0=BA?= =?UTF-8?q?=D0=B5=D1=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/SwipeView.vue | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/src/views/SwipeView.vue b/src/views/SwipeView.vue index e968b02..37bf65e 100644 --- a/src/views/SwipeView.vue +++ b/src/views/SwipeView.vue @@ -682,6 +682,7 @@ watch(suggestions, () => { flex-direction: column; position: relative; overflow: hidden; + padding-bottom: var(--tabs-height, 56px); /* Добавляем отступ снизу, чтобы учесть высоту табов */ } /* Состояния загрузки и ошибки */ @@ -775,7 +776,7 @@ watch(suggestions, () => { top: 0; left: 0; right: 0; - bottom: 0; + height: calc(100% - 16px); /* Ограничиваем высоту карточки, чтобы она не выходила за нижнюю границу */ border-radius: 16px; background-color: white; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); @@ -987,19 +988,8 @@ watch(suggestions, () => { padding: 12px 16px; border-top: 1px solid rgba(0, 0, 0, 0.05); flex-shrink: 0; -} - -.bio-container { - max-height: 80px; - overflow-y: auto; - scrollbar-width: thin; - -webkit-overflow-scrolling: touch; -} - -.bio-text { - margin: 0; - line-height: 1.5; - color: #333; + max-height: 100px; /* Ограничиваем высоту секции с деталями */ + overflow-y: auto; /* Добавляем прокрутку, если текст не помещается */ } /* Кнопки действий */