Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
status_emoji: Modify centering technique for .selected_emoji.
YashRE42768a1337158e
diff --git a/static/styles/user_status.css b/static/styles/user_status.cssindex 1143098361f..5f193e70fa0 100644--- a/static/styles/user_status.css+++ b/static/styles/user_status.css@@ -29,9 +29,12 @@.selected_emoji {width: 20px;height: 20px;- top: 50%;- transform: translateY(-50%);cursor: pointer;+ /*+ the following rule is not necessarily better than the one+ from a6bef5154197b15c20445526fd3f219b4f2e5379 but it works.+ */+ top: -2px;}/* For custom emojis and smiley icon to take full width. */diff --git a/static/templates/status_emoji_selector.hbs b/static/templates/status_emoji_selector.hbsindex d3ad84e66f0..e2a48a28587 100644--- a/static/templates/status_emoji_selector.hbs+++ b/static/templates/status_emoji_selector.hbs@@ -9,5 +9,5 @@{{/if}}{{/if}}{{else}}- <a type="button" class="smiley_icon status_emoji show fa fa-smile-o"></a>+ <a type="button" class="smiley_icon show fa fa-smile-o"></a>{{/if}}