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.

search: Hide close button in empty filter streams and filter topics.

opmkumar62f74fcb8303
diff --git a/web/styles/recent_view.css b/web/styles/recent_view.css
index 06167139b64..f2d78765317 100644
--- a/web/styles/recent_view.css
+++ b/web/styles/recent_view.css
@@ -145,6 +145,10 @@
margin: 0 -27px 10px 0;
}
+ #recent_view_search:placeholder-shown + #recent_view_search_clear {
+ visibility: hidden;
+ }
+
#recent_view_search {
flex-grow: 1;
padding-right: 20px;
diff --git a/web/styles/subscriptions.css b/web/styles/subscriptions.css
index b10c27ab0ae..77c119ac8e6 100644
--- a/web/styles/subscriptions.css
+++ b/web/styles/subscriptions.css
@@ -512,6 +512,10 @@ h4.user_group_setting_subsection_title {
margin-left: -1px;
}
+#search_stream_name:placeholder-shown + #clear_search_stream_name {
+ visibility: hidden;
+}
+
.stream-title {
font-size: 1.3em;
font-weight: 400;