mirror of https://github.com/zulip/zulip.git
compose_typeahead: Fix position of unsubscribed icon.
Fixes position of unsubscribed icon so that it appears in the same line as the list item of the typeahead and prevent typeahead to increase in width when the icon is shown.
This commit is contained in:
parent
67d85508be
commit
e699825296
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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}}
|
||||
|
|
Loading…
Reference in New Issue