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.

stream_narrow: Scale icon in sub/unsub message with font size.

evykassireraae0bdfa94f8
diff --git a/web/styles/zulip.css b/web/styles/zulip.css
index 8ce6508bdad..429ddc0f363 100644
--- a/web/styles/zulip.css
+++ b/web/styles/zulip.css
@@ -1393,14 +1393,17 @@ div.toggle_resolve_topic_spinner .loading_indicator_spinner {
opacity: 0.6;
& i {
- font-size: 10px;
+ font-size: 0.7143em; /* 10px at 14px / em */
+ /* TODO: Don't use relative positioning here. */
position: relative;
- top: 1px;
- margin-left: 2px;
+ top: 0.1em; /* 1px at 10px / em */
+ margin-left: 0.2em; /* 2px at 10px / em */
}
.zulip-icon.zulip-icon-lock {
- font-size: 12px;
+ font-size: 0.8571em; /* 12px at 14px / em */
+ top: 0.0833em; /* 1px at 12px / em */
+ margin-left: 0.1667em; /* 2px at 12px / em */
}
}