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.

css: Make pills' content collapse according to width available.

N-Shar-ma7072794871df
diff --git a/web/styles/compose.css b/web/styles/compose.css
index 0d1c7620bfd..fe795a30306 100644
--- a/web/styles/compose.css
+++ b/web/styles/compose.css
@@ -963,6 +963,7 @@ textarea.new_message_textarea,
`align-self: center` to center only
themselves, where necessary. */
min-height: var(--compose-recipient-box-min-height);
+ min-width: 0;
}
.compose-control-buttons-container {
diff --git a/web/styles/input_pill.css b/web/styles/input_pill.css
index c457410f151..37c380f59f5 100644
--- a/web/styles/input_pill.css
+++ b/web/styles/input_pill.css
@@ -1,6 +1,7 @@
.pill-container {
display: inline-flex;
flex-wrap: wrap;
+ min-width: 0;
padding: 2px;
border: 1px solid hsl(0deg 0% 0% / 15%);
@@ -13,6 +14,7 @@
display: inline-flex;
align-items: center;
max-width: 100%;
+ min-width: 0;
height: 20px;
margin: 1px 2px;