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.

pills: Express pill-container spacing on base class.

Karl Stolley5cd4a8c8e5e0
diff --git a/web/styles/input_pill.css b/web/styles/input_pill.css
index 0c6920adbe3..760987215d8 100644
--- a/web/styles/input_pill.css
+++ b/web/styles/input_pill.css
@@ -1,5 +1,6 @@
.pill-container {
display: inline-flex;
+ gap: var(--vertical-spacing-input-pill) var(--horizontal-spacing-input-pill);
flex-wrap: wrap;
min-width: 0;
@@ -157,8 +158,6 @@
}
#compose-direct-recipient .pill-container {
- gap: var(--vertical-spacing-input-pill) var(--horizontal-spacing-input-pill);
- padding: var(--vertical-spacing-input-pill);
border: 1px solid hsl(0deg 0% 0% / 20%);
background-color: hsl(0deg 0% 100%);
@@ -191,6 +190,11 @@
}
}
+.display_only_pill {
+ /* Ensure middle alignment in table contexts. */
+ vertical-align: middle;
+}
+
/* These pill are similar to .not-editable, but are meant to show
profile cards when clicked. */
.panel_user_list > .pill-container,
diff --git a/web/styles/settings.css b/web/styles/settings.css
index 51f0bdab773..ded64e90c96 100644
--- a/web/styles/settings.css
+++ b/web/styles/settings.css
@@ -702,7 +702,7 @@ input[type="checkbox"] {
}
.person_picker {
- min-width: 311px;
+ min-width: 319px;
}
& textarea {
@@ -1643,7 +1643,6 @@ $option_title_width: 180px;
.custom_user_field,
.bot_owner_user_field {
.pill-container {
- padding: 2px 6px;
min-height: 24px;
max-width: 206px;
background-color: hsl(0deg 0% 100%);
diff --git a/web/styles/zulip.css b/web/styles/zulip.css
index 3084f472199..3f887af7793 100644
--- a/web/styles/zulip.css
+++ b/web/styles/zulip.css
@@ -1590,10 +1590,6 @@ div.toggle_resolve_topic_spinner .loading_indicator_spinner {
display: inline-flex;
align-items: center;
width: 100%;
-
- .pill-container {
- padding: 4px 6px;
- }
}
#custom-expiration-time-input {