From f0b1d2281e7d73bc1dca5b4cc0934080948a52b6 Mon Sep 17 00:00:00 2001 From: Matchu Date: Mon, 8 Jul 2024 17:29:22 -0700 Subject: [PATCH] Slight improvement for double-clicking play/pause in new item preview --- app/assets/stylesheets/items/_show.sass | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/assets/stylesheets/items/_show.sass b/app/assets/stylesheets/items/_show.sass index 6ba319e5..f9a07739 100644 --- a/app/assets/stylesheets/items/_show.sass +++ b/app/assets/stylesheets/items/_show.sass @@ -48,6 +48,11 @@ body.items-show overflow: hidden margin: 0 auto .75em + // There's no useful text in here, but double-clicking the play/pause + // button can cause a weird selection state. Disable text selection. + user-select: none + -webkit-user-select: none + outfit-layer display: block position: absolute