Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

subscriptions: Use em to center permissions radio buttons.

evykassirer725d0e2d4785
diff --git a/web/styles/subscriptions.css b/web/styles/subscriptions.css
index 7c129dfd19e..7e4eff0ddab 100644
--- a/web/styles/subscriptions.css
+++ b/web/styles/subscriptions.css
@@ -1114,7 +1114,11 @@ div.settings-radio-input-parent {
float: left;
width: auto;
cursor: pointer;
- margin: 3.5px 0 1px;
+ /* Scale the height with font-size, 14px at 1em */
+ height: 1em;
+ /* This value came from fiddling to find what looked
+ vertically centered at 12px-20px font sizes. */
+ margin-top: 0.15em;
&:focus {
outline: 1px dotted hsl(0deg 0% 20%);