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.

top_navbar: Properly align icons horizontally and vertically.

Karl Stolleycabbff73fdaa
diff --git a/web/styles/zulip.css b/web/styles/zulip.css
index 6a5e68a0f83..a00d8c1049e 100644
--- a/web/styles/zulip.css
+++ b/web/styles/zulip.css
@@ -2313,12 +2313,21 @@ div.focused-message-list {
font-size: 16px;
}
+ .fa-envelope {
+ /* The squatter envelope icon appears
+ better vertically centered when aligned
+ to the baseline of the adjacent DM partners. */
+ align-self: baseline;
+ }
+
@media (width < $sm_min) {
padding: 0 3.5px; /* based on having ~41.66% decrease */
}
& i {
- margin: 0 3px 0 5px;
+ margin: 0 6px 0 5px;
+ /* Align all icons to center. */
+ align-self: center;
}
.fa {
@@ -2332,12 +2341,6 @@ div.focused-message-list {
margin: 0 2px 0 5px;
}
}
-
- .zulip-icon-inbox,
- .zulip-icon-star-filled {
- position: relative;
- top: 2px;
- }
}
.message-header-navbar-title {