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.

compose_typeahead: Fix position of unsubscribed icon.

Vector73e699825296bf
diff --git a/web/styles/zulip.css b/web/styles/zulip.css
index 43ee817f596..34cf14af248 100644
--- a/web/styles/zulip.css
+++ b/web/styles/zulip.css
@@ -1360,7 +1360,7 @@ div.focused-message-list {
.active {
.unsubscribed_icon {
- display: block;
+ visibility: visible;
float: right;
margin-top: 5px;
color: hsl(96deg 7% 73%);
@@ -1368,7 +1368,8 @@ div.focused-message-list {
}
.unsubscribed_icon {
- display: none;
+ visibility: hidden;
+ font-size: 0.8em;
}
}
diff --git a/web/templates/typeahead_list_item.hbs b/web/templates/typeahead_list_item.hbs
index ae807caebff..234d55beb93 100644
--- a/web/templates/typeahead_list_item.hbs
+++ b/web/templates/typeahead_list_item.hbs
@@ -41,8 +41,8 @@
{{~ secondary ~}}
</small>
{{~/if}}
- {{#if is_unsubscribed}}
+</div>
+{{#if is_unsubscribed}}
<span class="fa fa-exclamation-triangle unsubscribed_icon"
title="{{t 'You are not currently subscribed to this channel.' }}"></span>
- {{/if}}
-</div>
+{{/if}}