fix: revert blur
This commit is contained in:
1 parent
3aaaf9ad17
commit
c030196c35
2 files changed
+17
-1
No files matched your search
@@ -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