Skip to content

Commit

Permalink
[WP 6.7] Tabs: Unify tab height to 48px/40px (#66295)
Browse files Browse the repository at this point in the history
Co-authored-by: t-hamano <wildworks@git.wordpress.org>
Co-authored-by: ciampo <mciampini@git.wordpress.org>
  • Loading branch information
3 people authored Oct 22, 2024
1 parent f73c2cc commit a98d8ab
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 a98d8ab

Please sign in to comment.