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.

message_feed: Vertically align link icon in recipient bar.

Karl Stolley3e4f7108a0fb
diff --git a/web/styles/zulip.css b/web/styles/zulip.css
index afe605251cd..403d0d16a77 100644
--- a/web/styles/zulip.css
+++ b/web/styles/zulip.css
@@ -1794,6 +1794,13 @@ td.pointer {
flex-grow: 1;
align-items: center;
+ .external-topic-link {
+ /* Vertically center the external link
+ icon inside its containing anchor. */
+ display: flex;
+ align-items: center;
+ }
+
.change_visibility_policy {
cursor: pointer;
diff --git a/web/templates/recipient_row.hbs b/web/templates/recipient_row.hbs
index 9c36935ba10..48f26d5f4e6 100644
--- a/web/templates/recipient_row.hbs
+++ b/web/templates/recipient_row.hbs
@@ -37,7 +37,7 @@
{{! exterior links (e.g. to a trac ticket) }}
{{#each topic_links}}
- <a href="{{this.url}}" target="_blank" rel="noopener noreferrer" class="no-underline">
+ <a href="{{this.url}}" target="_blank" rel="noopener noreferrer" class="external-topic-link no-underline">
<i class="fa fa-external-link-square recipient_bar_icon" data-tippy-content="Open {{this.text}}" aria-label="{{t 'External link' }}"></i>
</a>
{{/each}}