Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
buttons: Fix line-height for icon-only action buttons.
Sayam Samal8b0ec42d17b3
diff --git a/web/styles/buttons.css b/web/styles/buttons.cssindex dbb37bd2a4a..2df1b79500f 100644--- a/web/styles/buttons.css+++ b/web/styles/buttons.css@@ -64,6 +64,14 @@pointer-events: none;opacity: 0.5;}++ .zulip-icon {+ /* We apply the same line-height to icons,+ as those applied to the label element,+ to maintain a consistent height for+ icon-only action buttons. */+ line-height: 1.25; /* 20px at 16px/1em */+ }}.action-button-label {diff --git a/web/styles/zulip.css b/web/styles/zulip.cssindex f86b04465fb..b63aaef78c9 100644--- a/web/styles/zulip.css+++ b/web/styles/zulip.css@@ -1051,6 +1051,12 @@ div.focused-message-list.is-conversation-view .recipient_row {background-clip: padding-box;}+.topic_edit_save,+.topic_edit_cancel {+ /* Adjust top and bottom padding to fit into the recipient row. */+ padding: 0.125em 0.625em; /* 2px 10px at 16px/em */+}+.information-settings .user-profile-picture,.user_sidebar_entry.with_avatar .user-profile-picture,.inline_profile_picture {