From 4f759ad2c3b8079483e904250d0c1e65a07e0db9 Mon Sep 17 00:00:00 2001 From: Echo Date: Mon, 7 Apr 2025 12:56:30 +0200 Subject: [PATCH] [Glitch] Forces radio buttons to be correctly centred Port ff7230df065461ad3fafefdb974f723641059388 to glitch-soc Signed-off-by: Claire --- app/javascript/flavours/glitch/styles/components.scss | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/app/javascript/flavours/glitch/styles/components.scss b/app/javascript/flavours/glitch/styles/components.scss index e952789c2a..3f60dfd78d 100644 --- a/app/javascript/flavours/glitch/styles/components.scss +++ b/app/javascript/flavours/glitch/styles/components.scss @@ -7985,14 +7985,11 @@ img.modal-warning { } .radio-button__input.checked::before { - position: absolute; - left: 2px; - top: 2px; content: ''; display: block; border-radius: 50%; - width: 12px; - height: 12px; + width: calc(100% - 4px); + height: calc(100% - 4px); background: $ui-highlight-color; }