From 008d8e2a8a4513cd282dadc0b8d402bbea19a2fb Mon Sep 17 00:00:00 2001 From: ArneBo Date: Thu, 19 Dec 2024 12:56:29 +0100 Subject: [PATCH] fix(ui): remove inert state when modal is closed; buttons are forced to be hidden on desktop --- front/src/components/ui/Modal.vue | 14 +++++++++++--- front/src/ui/App.vue | 5 +++++ front/src/ui/components/Sidebar.vue | 2 +- 3 files changed, 17 insertions(+), 4 deletions(-) diff --git a/front/src/components/ui/Modal.vue b/front/src/components/ui/Modal.vue index c91f5ad25..bd99748e5 100644 --- a/front/src/components/ui/Modal.vue +++ b/front/src/components/ui/Modal.vue @@ -1,5 +1,7 @@ @@ -47,7 +55,7 @@ const isOpen = defineModel({ default:false }) - + diff --git a/front/src/ui/App.vue b/front/src/ui/App.vue index dcfb9ca2e..dc93c7718 100644 --- a/front/src/ui/App.vue +++ b/front/src/ui/App.vue @@ -38,3 +38,8 @@ onKeyboardShortcut('h', () => isShortcutsModalOpen.value = !isShortcutsModalOpen } } + diff --git a/front/src/ui/components/Sidebar.vue b/front/src/ui/components/Sidebar.vue index b3512b814..f77c32730 100644 --- a/front/src/ui/components/Sidebar.vue +++ b/front/src/ui/components/Sidebar.vue @@ -304,7 +304,7 @@ const uploads = useUploadsStore() height: 100%; :global(.hide-on-desktop){ - display: none; + display: none !important; } :global(.hide-on-mobile){