Skip to content

Commit

Permalink
fix(tabs): tab button font-size default value (#1362)
Browse files Browse the repository at this point in the history
* fix(tabs): tab button font-size should be set to 16px

* docs(tabs): add cssprop for tab link font-size

* fix(tabs): move font-size to tabs part

* chore(tabs): add changeset

* fix(tabs): remove addition of css prop
  • Loading branch information
zeroedin authored Nov 28, 2023
1 parent fc27b79 commit a6510e2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/green-teachers-add.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rhds/elements": patch
---

`<rh-tabs>`: adds default value for tab font-size
1 change: 1 addition & 0 deletions elements/rh-tabs/rh-tabs.css
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
bottom: 0;
margin: 0;
width: auto;
font-size: var(--rh-font-size-body-text-md, 1rem);
}

:host(:is([centered], [box="inset"])) [part="tabs"] {
Expand Down

0 comments on commit a6510e2

Please sign in to comment.