Skip to content

Commit 0f2f2e5

Browse files
committed
Remove backdrop blur from modal backdrops
Removed the 'backdrop-blur-sm' class from BaseBottomDrawer and BaseDialog backdrops. The semi-transparent overlay (bg-black/60) and click handling are unchanged; this only disables the background blur effect for these components.
1 parent 54ad2f6 commit 0f2f2e5

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

app/components/BaseBottomDrawer.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ onBeforeUnmount(() => {
230230
<Transition name="drawer">
231231
<div
232232
v-if="modelValue"
233-
class="fixed inset-0 z-50 flex items-end justify-center bg-black/60 backdrop-blur-sm"
233+
class="fixed inset-0 z-50 flex items-end justify-center bg-black/60"
234234
@click.self="handleBackdropClick"
235235
>
236236
<!-- Drawer Container -->

app/components/BaseDialog.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ onBeforeUnmount(() => {
8383
<template>
8484
<Teleport to="body">
8585
<Transition name="dialog">
86-
<div v-if="modelValue" class="fixed inset-0 z-50 flex items-center justify-center p-4 bg-black/60 backdrop-blur-sm" :class="{ 'overflow-y-auto': scrollable }" @click.self="handleBackdropClick">
86+
<div v-if="modelValue" class="fixed inset-0 z-50 flex items-center justify-center p-4 bg-black/60" :class="{ 'overflow-y-auto': scrollable }" @click.self="handleBackdropClick">
8787
<div class="bg-white dark:bg-gray-950 rounded-2xl shadow-2xl w-full transform transition-all border-1 border-gray-950/5 dark:border-white/10 overflow-hidden" :class="[maxWidth, scrollable ? 'my-8' : '', padding ? 'p-6' : 'p-0']" @click.stop>
8888
<!-- Header -->
8989
<div v-if="showHeader && (title || showClose || $slots.header)" class="flex items-center justify-between mb-2 flex-shrink-0">

0 commit comments

Comments
 (0)