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 some overflow issues for dm pill operand.

Evy Kassirer235dfa5280ce
diff --git a/web/styles/search.css b/web/styles/search.css
index 35b4c88e212..b851ca23d72 100644
--- a/web/styles/search.css
+++ b/web/styles/search.css
@@ -215,6 +215,15 @@
}
}
+ /* for both input container and search suggestions */
+ .user-pill-container {
+ > .pill-label {
+ min-width: fit-content;
+ white-space: nowrap;
+ width: fit-content;
+ }
+ }
+
#searchbox-input-container {
display: grid;
/* The next two styles override .input-append style from app_components.js */
@@ -279,9 +288,6 @@
}
> .pill-label {
- min-width: fit-content;
- white-space: nowrap;
- width: fit-content;
/* Replaced by the 5px gap. */
margin-right: 0;
/* Don't inherit large line-height for user pill labels. */