fix(overlays): change opacity to filter to fix chromium bug (#1735)
This commit is contained in:
parent
7239d60466
commit
270c7b30b8
2 changed files with 6 additions and 1 deletions
5
.changeset/eighty-hats-bake.md
Normal file
5
.changeset/eighty-hats-bake.md
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
---
|
||||||
|
'@lion/overlays': patch
|
||||||
|
---
|
||||||
|
|
||||||
|
fix chromium opacity bug by using filter
|
||||||
|
|
@ -77,7 +77,7 @@ export const globalOverlaysStyle = css`
|
||||||
height: 100%;
|
height: 100%;
|
||||||
z-index: -1;
|
z-index: -1;
|
||||||
background-color: #333333;
|
background-color: #333333;
|
||||||
opacity: 0.3;
|
filter: opacity(30%);
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue