From 3fb20ca21fe494b8acd275f29f4bea0870546655 Mon Sep 17 00:00:00 2001 From: Guillaume Chau Date: Thu, 15 Feb 2024 18:56:03 +0100 Subject: [PATCH] feat: clear storage button --- .../src/assets/style/index.postcss | 2 +- .../src/features/settings/GlobalSettings.vue | 34 +++++++++++++++++++ .../src/features/ui/components/VueModal.vue | 2 +- 3 files changed, 36 insertions(+), 2 deletions(-) diff --git a/packages/app-frontend/src/assets/style/index.postcss b/packages/app-frontend/src/assets/style/index.postcss index 38ebc580a..3d71cf5bb 100644 --- a/packages/app-frontend/src/assets/style/index.postcss +++ b/packages/app-frontend/src/assets/style/index.postcss @@ -64,7 +64,7 @@ html, body, #app { /* Buttons */ -.vue-ui-button:not(.flat):not(.vue-ui-dropdown-button) { +.vue-ui-button:not(.flat):not(.vue-ui-dropdown-button):not(.primary):not(.secondary):not(.danger) { @apply dark:bg-gray-700 dark:hover:!bg-gray-600; } diff --git a/packages/app-frontend/src/features/settings/GlobalSettings.vue b/packages/app-frontend/src/features/settings/GlobalSettings.vue index 8476b95ab..3fec603cb 100644 --- a/packages/app-frontend/src/features/settings/GlobalSettings.vue +++ b/packages/app-frontend/src/features/settings/GlobalSettings.vue @@ -1,6 +1,7 @@ diff --git a/packages/app-frontend/src/features/ui/components/VueModal.vue b/packages/app-frontend/src/features/ui/components/VueModal.vue index 557abce87..ce1bd2d1d 100644 --- a/packages/app-frontend/src/features/ui/components/VueModal.vue +++ b/packages/app-frontend/src/features/ui/components/VueModal.vue @@ -25,7 +25,7 @@ export default defineComponent({ const rootElement = ref(null) onMounted(async () => { await nextTick() - rootElement.value.focus() + rootElement.value?.focus() }) useDisableScroll()