From 775018a8187eccd9fe7b973fed0aa5f1665f2080 Mon Sep 17 00:00:00 2001 From: YashRE42 <33805964+YashRE42@users.noreply.github.com> Date: Wed, 24 Nov 2021 22:32:15 +0530 Subject: [PATCH] stream_privacy_modal: Fix vertical alignment of radio inputs. Fixes: #20347. --- static/styles/subscriptions.css | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/static/styles/subscriptions.css b/static/styles/subscriptions.css index 36cb3abfeb..f1aa9cb5d2 100644 --- a/static/styles/subscriptions.css +++ b/static/styles/subscriptions.css @@ -1040,10 +1040,6 @@ h4.stream_setting_subsection_title { margin: 5px 0 5px 5px; padding: 5px 0; - input[type="radio"] { - margin: 3.5px 0 1px; - } - &:last-of-type { border-bottom: none; } @@ -1069,6 +1065,15 @@ h4.stream_setting_subsection_title { } } +.stream-creation-body input[type="radio"] { + margin: 3.5px 0 1px; +} + +/* we have this 2px difference due to the font size being larger in the modal */ +#stream_privacy_modal input[type="radio"] { + margin: 5.5px 0 1px; +} + #change_stream_description { width: 100%; height: 80px;