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:
Vector73 2024-07-04 09:15:07 +05:30 committed by Tim Abbott
parent 67d85508be
commit e699825296
2 changed files with 6 additions and 5 deletions

View File

@ -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;
}
}

View File

@ -41,8 +41,8 @@
{{~ secondary ~}}
</small>
{{~/if}}
</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>