From 16bd966a7d760c58c47ed7a80b776d128cd3bddd Mon Sep 17 00:00:00 2001 From: Matchu Date: Mon, 8 Jul 2024 17:25:55 -0700 Subject: [PATCH] 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. --- app/assets/stylesheets/items/_show.sass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/stylesheets/items/_show.sass b/app/assets/stylesheets/items/_show.sass index c8052b7f..6ba319e5 100644 --- a/app/assets/stylesheets/items/_show.sass +++ b/app/assets/stylesheets/items/_show.sass @@ -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))