Skip to content

A self-hosted media server and file management system

fix: modal has double backdrop blur

aminnausin7120dd354a61
diff --git a/resources/js/components/cedar-ui/modal/GlobalModal.vue b/resources/js/components/cedar-ui/modal/GlobalModal.vue
index a9c500af..365dcdbc 100644
--- a/resources/js/components/cedar-ui/modal/GlobalModal.vue
+++ b/resources/js/components/cedar-ui/modal/GlobalModal.vue
@@ -46,7 +46,7 @@ const modalStore = useModalStore();
@keydown.esc="modalStore.close"
:class="
cn(
- '3xl:max-w-xl bg-overlay-2-t border-overlay-border m-auto flex w-full flex-col gap-4 rounded-xl border p-6 shadow-lg drop-shadow-md backdrop-blur-lg focus:outline-none sm:max-w-lg xl:max-w-xl',
+ '3xl:max-w-xl bg-overlay-2-t border-overlay-border m-auto flex w-full flex-col gap-4 rounded-xl border p-6 shadow-lg drop-shadow-md focus:outline-none sm:max-w-lg xl:max-w-xl',
modalStore.props.rootClass,
)
"
diff --git a/resources/js/components/cedar-ui/modal/ModalBase.vue b/resources/js/components/cedar-ui/modal/ModalBase.vue
index 22333b00..11c63280 100644
--- a/resources/js/components/cedar-ui/modal/ModalBase.vue
+++ b/resources/js/components/cedar-ui/modal/ModalBase.vue
@@ -78,7 +78,7 @@ watch(
<OnClickOutside
@trigger="closeModal"
@keydown.esc="closeModal"
- class="3xl:max-w-xl bg-overlay-2-t border-overlay-border m-auto flex w-full flex-col gap-4 rounded-2xl border p-6 shadow-lg drop-shadow-md backdrop-blur-lg sm:max-w-lg xl:max-w-xl"
+ class="3xl:max-w-xl bg-overlay-2-t border-overlay-border m-auto flex w-full flex-col gap-4 rounded-2xl border p-6 shadow-lg drop-shadow-md sm:max-w-lg xl:max-w-xl"
tabindex="-1"
>
<section class="flex flex-wrap items-center gap-2">