Slight improvement for play/pause active style in new item page preview

Oh right, if the *label* is `:active`, that only applies if we're
clicking it with our mouse. But if the *toggle* is actively, that
applies both to mouse events on the label, and keyboard events on the
checkbox.
This commit is contained in:
Emi Matchu 2024-07-08 17:25:55 -07:00
parent bf30ca0252
commit 16bd966a7d

View file

@ -116,7 +116,7 @@ body.items-show
background: $module-bg-color
color: $text-color
&:active
&:has(.play-pause-toggle:active)
transform: translateY(2px)
&:has(outfit-layer:state(has-animations))