diff --git a/web/styles/search.css b/web/styles/search.css index 35b4c88e21..b851ca23d7 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. */