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.

user_profile: Move bot icon to the left of the name.

palashb01f9dd2db3e4c7
diff --git a/web/styles/popovers.css b/web/styles/popovers.css
index 05f450c6daa..ddf071dc32e 100644
--- a/web/styles/popovers.css
+++ b/web/styles/popovers.css
@@ -467,7 +467,7 @@ ul {
}
.user_profile_name {
- margin-right: 10px;
+ margin: 0 10px;
}
.zulip-icon.zulip-icon-bot {
diff --git a/web/templates/user_profile_modal.hbs b/web/templates/user_profile_modal.hbs
index b1dd8e90bd6..ae70509552a 100644
--- a/web/templates/user_profile_modal.hbs
+++ b/web/templates/user_profile_modal.hbs
@@ -8,10 +8,10 @@
</div>
{{/unless}}
<h1 class="modal__title user_profile_name_heading" id="name">
- <span class="user_profile_name">{{full_name}}</span>
{{#if is_bot}}
<i class="zulip-icon zulip-icon-bot" aria-hidden="true"></i>
{{/if}}
+ <span class="user_profile_name">{{full_name}}</span>
{{#if is_me}}
<a href="/#settings/profile">
<i class="fa fa-edit" id="user_profile_manage_own_edit_button" aria-hidden="true"></i>