Skip to content

Commit

Permalink
fix(card): add display: block (digdir#2559)
Browse files Browse the repository at this point in the history
  • Loading branch information
Barsnes authored Oct 2, 2024
1 parent 09e1444 commit c2fed0e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/css/card.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
--dsc-card-padding: var(--ds-spacing-6);

all: unset; /* Reset if <button> */
display: block;
background: var(--dsc-card-background);
border-radius: min(1rem, var(--ds-border-radius-md));
border: var(--dsc-card-border);
Expand Down

0 comments on commit c2fed0e

Please sign in to comment.