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.

compose: Don't flex private_message_recipient.

Karl Stolley266f135e3944
diff --git a/web/styles/input_pill.css b/web/styles/input_pill.css
index 325a7dc0d18..10fd48c5a6b 100644
--- a/web/styles/input_pill.css
+++ b/web/styles/input_pill.css
@@ -261,6 +261,21 @@
}
}
+.low-attention-recipient-row #compose-direct-recipient .pill-container {
+ &:has(.pill) {
+ /* In the low-attention state, prevent this from being
+ part of the flex layout on .pill-container when there
+ are already user pills (when the "Add user" text is
+ never displayed, as specified on the
+ .input:first-child:empty::before selector above). */
+ #private_message_recipient {
+ position: absolute;
+ top: 0;
+ left: 0;
+ }
+ }
+}
+
#invitee_emails_container .pill-container,
#integration-url-filter-branches .pill-container {
width: 100%;