search pills: Prevent overflow in the typeahead for very long pills.

This commit is contained in:
evykassirer 2024-07-10 15:47:39 -07:00 committed by Tim Abbott
parent 7cb00d171e
commit 9c45e43706
1 changed files with 5 additions and 0 deletions

View File

@ -331,12 +331,17 @@
/* Override white-space: nowrap from zulip.css */
white-space: normal;
.search_list_item {
max-width: 100%;
}
.search_list_item .pill-container {
margin-left: 5px;
/* This contains only one pill, which handles its own border */
border: none;
cursor: pointer;
padding: 0;
max-width: 100%;
}
.pill {