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: Fix bug where narrow screen closed search had background color.

evykassirer707565b2918c
diff --git a/web/styles/search.css b/web/styles/search.css
index 078be849cb3..3f34e5ace1b 100644
--- a/web/styles/search.css
+++ b/web/styles/search.css
@@ -122,6 +122,12 @@
cursor: text;
}
+ #searchbox-input-container.pill-container {
+ /* Pill container should display the same background
+ color as the search typeahead. */
+ background-color: var(--color-background-search);
+ }
+
@media (width < $md_min) {
/* 3px chosen so that the cursor clicks the search button
and close button from the same position. */
@@ -213,9 +219,7 @@
/* Override styles for .pill-container that aren't relevant for search. */
&.pill-container {
- /* Pill container should display the same background
- color as the search typeahead. */
- background-color: var(--color-background-search);
+ background: inherit;
/* Maintain only a column gap. */
gap: 0 0.3125em; /* 5px at 16px em */
/* Override padding. */