mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
As a follow-up to the previous commit, this commit improves the styling of the custom user status picker input. The changes in this commit adjust the styling of the input field towards the new redesigned inputs while shying away from using the input component to avoid the complexity involved in including the status emoji selector in the input component.
12 lines
452 B
Handlebars
12 lines
452 B
Handlebars
{{#if selected_emoji}}
|
|
{{#if selected_emoji.emoji_alt_code}}
|
|
<div class="emoji_alt_code"> :{{selected_emoji.emoji_name}}:</div>
|
|
{{else if selected_emoji.url}}
|
|
<img src="{{selected_emoji.url}}" class="emoji selected-emoji" />
|
|
{{else}}
|
|
<div class="emoji selected-emoji emoji-{{selected_emoji.emoji_code}}"></div>
|
|
{{/if}}
|
|
{{else}}
|
|
<span class="smiley-icon show zulip-icon zulip-icon-smile"></span>
|
|
{{/if}}
|