Skip to content

Commit

Permalink
fix: small Select font size (#170)
Browse files Browse the repository at this point in the history
* fix: Select sm font-size

* chore(change): add change

* chore: fix package-lock.json
  • Loading branch information
jonambas authored Nov 9, 2023
1 parent 48a595d commit c706d78
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .changeset/stale-toes-happen.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@sweatpants/react': patch
---

Fix Select trigger sm font-size
23 changes: 20 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/react/src/select/Select.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const triggerStyles = cva({
lineHeight: 'calc(2.5rem - 2px)'
},
md: { fontSize: '4', paddingX: '4', lineHeight: 'calc(2rem - 2px)' },
sm: { fontSize: '2', paddingX: '4', lineHeight: 'calc(1.75rem - 2px)' }
sm: { fontSize: '3', paddingX: '4', lineHeight: 'calc(1.75rem - 2px)' }
},
kind: {
neutral: {
Expand Down

0 comments on commit c706d78

Please sign in to comment.