Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
search: Increase min width of search pill label.
evykassirer194c338b301e
diff --git a/web/styles/app_variables.css b/web/styles/app_variables.cssindex e974a7e1102..29016e10bc2 100644--- a/web/styles/app_variables.css+++ b/web/styles/app_variables.css@@ -195,7 +195,7 @@--search-box-height: 1.75em; /* 28px at 16px em */}- --search-pill-label-min-width: 2.1429em; /* 30px at 14px/em */+ --search-pill-label-min-width: 2.5em; /* 35px at 14px/em *//*Since #navbar_alerts_wrapper can take variable height depending upondiff --git a/web/styles/search.css b/web/styles/search.cssindex e4db6a3c469..4e5d82b7fd0 100644--- a/web/styles/search.css+++ b/web/styles/search.css@@ -287,15 +287,14 @@/* Match border radius to image */border-radius: 4px;max-width: none;+ /* Set the minimum width on the pill container;+ this accommodates the avatar, a minimum+ two-character username, and the closing X.+ 90px at 20px/1em */+ min-width: 4.5em;display: grid;grid-template-columns:- var(--length-input-pill-image) minmax(- calc(- var(--search-pill-label-min-width) + 2 *- var(--input-pill-side-padding)- ),- 1fr- )+ var(--length-input-pill-image) minmax(0, 1fr)var(--length-input-pill-exit);/* Don't inherit large line-height for user pills themselves, either. */@@ -308,10 +307,6 @@}}- .pill-label {- min-width: var(--search-pill-label-min-width);- }-@media (width >= $md_min) {.navbar-search {background: var(--color-background-search);