Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
css: Correct vertical alignment of default external account icons.
Niloth P5df75b2487ff
diff --git a/web/styles/popovers.css b/web/styles/popovers.cssindex 8da29dc972d..9f4f9e85d98 100644--- a/web/styles/popovers.css+++ b/web/styles/popovers.css@@ -223,6 +223,17 @@}}+.external-account-link-field {+ display: inline-flex;+ align-items: center;+ /* Maintain space between icon and text. */+ gap: 3px;++ overflow: hidden;+ white-space: nowrap;+ text-overflow: ellipsis;+}+.hidden-remove-button {opacity: 0;visibility: hidden;diff --git a/web/templates/user_custom_profile_fields.hbs b/web/templates/user_custom_profile_fields.hbsindex aa15ec32ae6..43af9a3dd7f 100644--- a/web/templates/user_custom_profile_fields.hbs+++ b/web/templates/user_custom_profile_fields.hbs@@ -12,7 +12,7 @@</div>{{else if this.is_external_account}}{{#if this.link}}- <a tabindex="0" href="{{this.link}}" target="_blank" rel="noopener noreferrer" class="value custom-profile-fields-link {{#if ../for_user_card_popover}}tippy-zulip-tooltip{{/if}}" data-tippy-content="{{this.name}}">+ <a tabindex="0" href="{{this.link}}" target="_blank" rel="noopener noreferrer" class="value custom-profile-fields-link external-account-link-field {{#if ../for_user_card_popover}}tippy-zulip-tooltip{{/if}}" data-tippy-content="{{this.name}}">{{> default_external_account_icon subtype=this.subtype}}{{this.value}}</a>