From ff7230df065461ad3fafefdb974f723641059388 Mon Sep 17 00:00:00 2001 From: Echo Date: Mon, 7 Apr 2025 12:56:30 +0200 Subject: [PATCH] Forces radio buttons to be correctly centred (#34389) --- app/javascript/styles/mastodon/components.scss | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/app/javascript/styles/mastodon/components.scss b/app/javascript/styles/mastodon/components.scss index d2a1c2b7b8f..a399553f29e 100644 --- a/app/javascript/styles/mastodon/components.scss +++ b/app/javascript/styles/mastodon/components.scss @@ -7572,14 +7572,11 @@ a.status-card { } .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; }