diff --git a/.changeset/blue-singers-switch.md b/.changeset/blue-singers-switch.md new file mode 100644 index 0000000000..beebbbad3f --- /dev/null +++ b/.changeset/blue-singers-switch.md @@ -0,0 +1,5 @@ +--- +"@digdir/designsystemet-css": patch +--- + +Chip: Support wrapping in group diff --git a/packages/css/chip.css b/packages/css/chip.css index 90e1f9982a..159b767173 100644 --- a/packages/css/chip.css +++ b/packages/css/chip.css @@ -97,11 +97,13 @@ .ds-chip--group-container { --dsc-chip-group-gap: var(--ds-spacing-2); + align-items: center; display: flex; + flex-wrap: wrap; gap: var(--dsc-chip-group-gap); - list-style-type: none; - padding: 0; + list-style: none; margin: 0; + padding: 0; } .ds-chip--group-container.ds-chip--sm {