Skip to content

Commit

Permalink
Fix icon button width
Browse files Browse the repository at this point in the history
  • Loading branch information
calebjacob committed Nov 13, 2024
1 parent 7be8a3c commit 90e95b6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@near-pagoda/ui",
"version": "2.0.15",
"version": "2.0.16",
"description": "A React component library that implements the official NEAR design system.",
"license": "MIT",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion src/components/Button.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
}

&[data-icon='true'] {
--button-width: var(--button-height);
--button-width: calc(var(--button-height) - 2px); // Subtract border width
}

&[data-size='x-small'] {
Expand Down

0 comments on commit 90e95b6

Please sign in to comment.