Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
message_body: Fix -3px alignment kludge using whitespace control.
Anders Kaseorgcbec20cfdfdf
diff --git a/static/styles/zulip.css b/static/styles/zulip.cssindex eda3a1d212d..c3912ea24bb 100644--- a/static/styles/zulip.css+++ b/static/styles/zulip.css@@ -1297,7 +1297,6 @@ td.pointer {font-weight: 700;vertical-align: top;line-height: 12px;- margin-left: -3px;}.sender_name-in-status {diff --git a/static/templates/message_avatar.hbs b/static/templates/message_avatar.hbsindex 5ed5d18875a..0263a60b3ea 100644--- a/static/templates/message_avatar.hbs+++ b/static/templates/message_avatar.hbs@@ -1,3 +1,4 @@<div class="u-{{msg/sender_id}} inline_profile_picture {{#sender_is_guest}} guest-avatar{{/sender_is_guest}}" aria-hidden="true"><img src="{{small_avatar_url}}" alt="" class="no-drag"/></div>+{{~! remove whitespace ~}}diff --git a/static/templates/message_body.hbs b/static/templates/message_body.hbsindex 354f32df7f0..782ab78ffdb 100644--- a/static/templates/message_body.hbs+++ b/static/templates/message_body.hbs@@ -3,7 +3,7 @@<span class="message_sender sender_info_hover no-select">{{#if include_sender}}<span title="{{t 'View user profile' }} (u)">- {{> message_avatar}}+ {{> message_avatar ~}}<span class="sender_name auto-select" role="button" tabindex="0">{{msg/sender_full_name}}</span>{{#if sender_is_bot}}<i class="zulip-icon zulip-icon-bot" aria-label="{{t 'Bot' }}"></i>