mirror of
https://github.com/wukko/cobalt.git
synced 2025-04-29 22:14:26 +02:00
web/PopoverContainer: replace box-shadow with filter & add will-change
This commit is contained in:
parent
926008818e
commit
b3e523b1ce
@ -24,10 +24,10 @@
|
||||
flex-direction: column;
|
||||
border-radius: 18px;
|
||||
background: var(--button);
|
||||
box-shadow:
|
||||
var(--button-box-shadow),
|
||||
0 0 10px 6px var(--popover-glow);
|
||||
box-shadow: var(--button-box-shadow);
|
||||
|
||||
filter: drop-shadow(0 0 8px var(--popover-glow))
|
||||
drop-shadow(0 0 10px var(--popover-glow));
|
||||
position: relative;
|
||||
padding: var(--padding);
|
||||
gap: 6px;
|
||||
@ -42,6 +42,8 @@
|
||||
transform 0.3s cubic-bezier(0.53, 0.05, 0.23, 1.15),
|
||||
opacity 0.25s cubic-bezier(0.53, 0.05, 0.23, 0.99);
|
||||
|
||||
will-change: transform, opacity;
|
||||
|
||||
pointer-events: all;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user