mirror of https://github.com/zulip/zulip.git
typeahead: Remove unsubscribe icon.
This commit is contained in:
parent
93e0561857
commit
a6e3a38e68
|
@ -99,7 +99,6 @@ export function render_typeahead_item(args: {
|
|||
pronouns?: string | undefined;
|
||||
is_user_group?: boolean;
|
||||
stream?: StreamData;
|
||||
is_unsubscribed?: boolean;
|
||||
emoji_code?: string | undefined;
|
||||
}): string {
|
||||
const has_image = args.img_src !== undefined;
|
||||
|
@ -173,7 +172,6 @@ export function render_stream(stream: StreamData): string {
|
|||
return render_typeahead_item({
|
||||
secondary_html: stream.rendered_description,
|
||||
stream,
|
||||
is_unsubscribed: !stream.subscribed,
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
@ -134,20 +134,6 @@
|
|||
gap: 0.25ch;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.active {
|
||||
.unsubscribed_icon {
|
||||
visibility: visible;
|
||||
float: right;
|
||||
margin-top: 5px;
|
||||
color: hsl(96deg 7% 73%);
|
||||
}
|
||||
}
|
||||
|
||||
.unsubscribed_icon {
|
||||
visibility: hidden;
|
||||
font-size: 0.8em;
|
||||
}
|
||||
}
|
||||
|
||||
.typeahead-option-label-container {
|
||||
|
|
|
@ -42,7 +42,3 @@
|
|||
</span>
|
||||
{{~/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}}
|
||||
|
|
Loading…
Reference in New Issue