From 587b44f7b9d53d98f88b3297ca41d08d4dde0c98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Sun, 12 Nov 2023 12:20:21 +0100 Subject: [PATCH] fix: Set fixed height for card modal (fix #4296) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- src/App.vue | 6 ++++++ src/components/card/CardSidebar.vue | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/App.vue b/src/App.vue index cfeb3309e..920bf4a3f 100644 --- a/src/App.vue +++ b/src/App.vue @@ -194,4 +194,10 @@ export default { width: 100%; } + .modal__card { + height: 100vh; + max-height: calc(100vh - 120px); + overflow: auto; + } + diff --git a/src/components/card/CardSidebar.vue b/src/components/card/CardSidebar.vue index 9f94c018f..6b4988cca 100644 --- a/src/components/card/CardSidebar.vue +++ b/src/components/card/CardSidebar.vue @@ -235,7 +235,7 @@ section.app-sidebar__tab--active { right: 0; max-width: calc(100% - #{$modal-padding * 2}); padding: 0 14px; - max-height: 100%; + height: auto; overflow: initial; user-select: text; -webkit-user-select: text;