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.

status: Use 'zulip-icon-close' instead of 'fa-remove' in search box.

Harshcf1599085009
diff --git a/web/styles/user_status.css b/web/styles/user_status.css
index ee2b2561a80..06e5a3559f8 100644
--- a/web/styles/user_status.css
+++ b/web/styles/user_status.css
@@ -3,14 +3,18 @@
width: 384px;
.user-status-content-wrapper {
- display: flex;
+ display: grid;
+ grid-template:
+ "status-icon search-input clear-search" auto / auto minmax(0, 1fr)
+ auto;
align-items: center;
border: 1px solid;
border-color: hsl(0deg 0% 0% / 60%);
border-radius: 5px;
+ height: 35px;
& input.user-status {
- flex: 1 1 0;
+ grid-area: search-input;
width: 100%;
border: none;
outline: none;
@@ -23,9 +27,10 @@
}
}
- .old_clear_search_button {
- position: static;
- padding: 6px;
+ .clear_search_button {
+ grid-area: clear-search;
+ width: 40px;
+ padding-left: 5px;
}
.status-emoji-wrapper {
diff --git a/web/templates/set_status_overlay.hbs b/web/templates/set_status_overlay.hbs
index fc2846f13b0..ca649dc04d5 100644
--- a/web/templates/set_status_overlay.hbs
+++ b/web/templates/set_status_overlay.hbs
@@ -4,9 +4,9 @@
{{> status_emoji_selector .}}
</div>
</div>
- <input type="text" class="user-status modal_text_input" placeholder="{{t 'Your status' }}" maxlength="60"/>
- <button type="button" class="bootstrap-btn old_clear_search_button" id="clear_status_message_button" disabled="disabled">
- <i class="fa fa-remove" aria-hidden="true"></i>
+ <input type="text" class="user-status modal_text_input" id="user-status-input" placeholder="{{t 'Your status' }}" maxlength="60"/>
+ <button type="button" class="clear_search_button" id="clear_status_message_button" disabled="disabled">
+ <i class="zulip-icon zulip-icon-close" aria-hidden="true"></i>
</button>
</div>
<div class="user-status-options">