From 94ad088482769c0b8019dafd18e102eeafa8ad6f Mon Sep 17 00:00:00 2001 From: diondiondion Date: Mon, 25 Aug 2025 11:12:46 +0200 Subject: [PATCH] Fix broken custom radio buttons & checkboxes in modals (#35891) --- .../styles/mastodon/components.scss | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/app/javascript/styles/mastodon/components.scss b/app/javascript/styles/mastodon/components.scss index 4e60cb8a6..ce87275e8 100644 --- a/app/javascript/styles/mastodon/components.scss +++ b/app/javascript/styles/mastodon/components.scss @@ -5668,9 +5668,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 { @@ -5988,17 +5999,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;