From c56aeba3d39d57f94268af4e7da7478098ddfc42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Thu, 29 Aug 2024 11:33:16 +0200 Subject: [PATCH] fix: Avoid duplicate scrollbars MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- src/App.vue | 3 +-- src/components/card/CardSidebar.vue | 5 +++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/App.vue b/src/App.vue index 350d8879b..a6274e76b 100644 --- a/src/App.vue +++ b/src/App.vue @@ -190,8 +190,7 @@ export default { .modal__card { width: 100%; min-width: 100%; - height: 100vh; - max-height: calc(100vh - 120px); + height: calc(100% - 20px); overflow: hidden; } diff --git a/src/components/card/CardSidebar.vue b/src/components/card/CardSidebar.vue index 10f06f708..41fd9dea8 100644 --- a/src/components/card/CardSidebar.vue +++ b/src/components/card/CardSidebar.vue @@ -238,6 +238,11 @@ section.app-sidebar__tab--active { max-height: 90%; } + .app-sidebar__tab { + min-height: calc(100% - 20px); + max-height: calc(100% - 20px); + } + // FIXME: test &:deep { .app-sidebar-header {