fix: revert blur
This commit is contained in:
1 parent
3aaaf9ad17
commit
c030196c35
2 files changed
+17
-1
No files matched your search
@@ -66,7 +66,7 @@
|
||||
alignment
|
||||
)}
|
||||
rounded-lg py-2 min-w-[16rem] my-2 flex flex-col shadow-sm
|
||||
bg-white/80 dark:bg-zinc-900/50 backdrop-blur-xl border border-slate-200 dark:border-zinc-800
|
||||
bg-white dark:bg-zinc-900 backdrop-blur-2xl border border-slate-200 dark:border-zinc-800
|
||||
{$$props.containerClass}"
|
||||
>
|
||||
{#if open}
|
||||
|
||||
@@ -2,6 +2,22 @@
|
||||
@tailwind components;
|
||||
@tailwind utilities;
|
||||
|
||||
@layer utilities {
|
||||
/*
|
||||
Chromium browsers don't render nested backdrop filters.
|
||||
As a workaround, add 'before:' to the outer filter, along with 'before:backdrop-hack':
|
||||
|
||||
<div class="before:backdrop-blur-md before:backdrop-hack>
|
||||
<div class="backdrop-blur-md"></div>
|
||||
</div>
|
||||
|
||||
See https://stackoverflow.com/a/76207141.
|
||||
*/
|
||||
.backdrop-hack {
|
||||
@apply absolute inset-0 -z-10;
|
||||
}
|
||||
}
|
||||
|
||||
body {
|
||||
@apply bg-slate-50 text-slate-900 dark:bg-zinc-950 dark:text-zinc-100 accent-slate-950 dark:accent-zinc-50;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user