Skip to content

Commit

Permalink
Tabs: Unify tab height to 48px/40px
Browse files Browse the repository at this point in the history
  • Loading branch information
t-hamano committed Oct 22, 2024
1 parent 55f9895 commit aa452d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/components/src/tabs/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export const Tab = styled( Ariakit.Tab )`
box-shadow: none;
cursor: pointer;
line-height: 1.2; // Some languages characters e.g. Japanese may have a native higher line-height.
padding: ${ space( 4 ) };
padding: ${ space( 3 ) } ${ space( 4 ) };
margin-left: 0;
font-weight: 500;
text-align: inherit;
Expand Down

0 comments on commit aa452d7

Please sign in to comment.