Skip to content

Commit

Permalink
Merge d81a273 into 96ed611
Browse files Browse the repository at this point in the history
  • Loading branch information
KenAJoh authored Jun 7, 2024
2 parents 96ed611 + d81a273 commit 91eaf69
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
5 changes: 5 additions & 0 deletions .changeset/quiet-hotels-melt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@navikt/ds-css": patch
---

Button: Updated icon size for size="small" to 1.25rem.
7 changes: 2 additions & 5 deletions @navikt/core/css/button.css
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@

padding: var(--ac-button-padding-small, var(--__ac-button-padding));
min-height: 2rem;
min-width: 2rem;
}

.navds-button--xsmall {
Expand Down Expand Up @@ -112,11 +113,7 @@
margin: 0;
}

.navds-button--small .navds-button__icon {
--ac-button-icon-margin: -2px;
}

.navds-button--xsmall .navds-button__icon {
:where(.navds-button--xsmall, .navds-button--small) .navds-button__icon {
--ac-button-icon-margin: -2px;

font-size: 1.25rem;
Expand Down

0 comments on commit 91eaf69

Please sign in to comment.