Skip to content

Commit

Permalink
fix(Chip): chip group wrap (#2324)
Browse files Browse the repository at this point in the history
Fixes #2315

---------

Co-authored-by: Tobias Barsnes <[email protected]>
  • Loading branch information
eirikbacker and Barsnes authored Aug 26, 2024
1 parent d2cf408 commit c25b798
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/blue-singers-switch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@digdir/designsystemet-css": patch
---

Chip: Support wrapping in group
6 changes: 4 additions & 2 deletions packages/css/chip.css
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit c25b798

Please sign in to comment.