From 2b00895179012521506892172afd37663a317ccb Mon Sep 17 00:00:00 2001 From: diondiondion Date: Mon, 25 Aug 2025 11:12:46 +0200 Subject: [PATCH] [Glitch] Fix broken custom radio buttons & checkboxes in modals Port 94ad088482769c0b8019dafd18e102eeafa8ad6f to glitch-soc Signed-off-by: Claire --- .../flavours/glitch/styles/components.scss | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/app/javascript/flavours/glitch/styles/components.scss b/app/javascript/flavours/glitch/styles/components.scss index b69576be1c..060c0aa5c6 100644 --- a/app/javascript/flavours/glitch/styles/components.scss +++ b/app/javascript/flavours/glitch/styles/components.scss @@ -5905,9 +5905,20 @@ a.status-card { z-index: 9999; } - &__label.disabled { - cursor: default; - opacity: 0.5; + &__label { + cursor: pointer; + display: block; + + > span { + display: block; + font-weight: 500; + margin-bottom: 8px; + } + + &.disabled { + cursor: default; + opacity: 0.5; + } } &__button { @@ -6225,17 +6236,6 @@ a.status-card { } } -.modal-root label { - cursor: pointer; - display: block; - - > span { - display: block; - font-weight: 500; - margin-bottom: 8px; - } -} - .video-modal .video-player { max-height: 80vh; max-width: 100vw;