Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.d/fixed-18882-customers-chip-style.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Customers tag chips now render as pills; they were bare unstyled text because the class they used had no CSS (#18882).
3 changes: 3 additions & 0 deletions src/pkg/dashboard/static-src/css/customers.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions src/pkg/dashboard/static/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6429,6 +6429,9 @@
.customers-row[data-me="true"] { border-color: var(--accent); }
.customers-row .customers-row-title { overflow-wrap: anywhere; }
.customers-chips { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-1); min-width: 0; }
/* The tag chip: the entity-chip pill recipe (design-system.css), tokens only. The old .badge class has no rule, which left tags as bare text. */
.customers-chip { display: inline-flex; align-items: center; gap: var(--sp-2); padding: 1px var(--sp-3); border: 1px solid var(--border); border-radius: var(--r-pill); background: color-mix(in srgb, var(--accent) 10%, transparent); color: var(--text); font: inherit; font-size: var(--fs-xs); font-weight: var(--fw-semibold); line-height: 1.5; white-space: nowrap; }
button.customers-chip { cursor: pointer; min-height: var(--tap-target); }
.customers-chip[data-state="off"] { opacity: 0.55; }
.customers-chip[data-source="manual"] { border-color: var(--accent); }
.customers-form { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 2fr) auto; gap: var(--sp-2); align-items: end; }
Expand Down
Loading