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.

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

Harsh6902d66635d3
diff --git a/web/styles/recent_view.css b/web/styles/recent_view.css
index e2028ad93c3..442df35aeee 100644
--- a/web/styles/recent_view.css
+++ b/web/styles/recent_view.css
@@ -157,17 +157,12 @@
#recent_view_search {
grid-column: search-input-start / clear-search-end;
grid-row: search-input;
- padding-right: 20px;
+ padding-right: 28px;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
- .old_clear_search_button {
- grid-area: clear-search;
- padding: 0;
- }
-
.button-recent-filters {
color: var(--color-text-default);
background-color: var(--color-background-zulip-button);
diff --git a/web/templates/recent_view_table.hbs b/web/templates/recent_view_table.hbs
index 583bbbfb51c..2520433fe7a 100644
--- a/web/templates/recent_view_table.hbs
+++ b/web/templates/recent_view_table.hbs
@@ -4,8 +4,8 @@
</div>
<div class="search_group" role="group">
<input type="text" id="recent_view_search" class="filter_text_input" value="{{ search_val }}" autocomplete="off" placeholder="{{t 'Filter topics (t)' }}" />
- <button type="button" class="bootstrap-btn old_clear_search_button" id="recent_view_search_clear">
- <i class="fa fa-remove" aria-hidden="true"></i>
+ <button type="button" class="clear_search_button" id="recent_view_search_clear">
+ <i class="zulip-icon zulip-icon-close" aria-hidden="true"></i>
</button>
</div>
</div>