Skip to content

Commit

Permalink
Adjust text-align.
Browse files Browse the repository at this point in the history
  • Loading branch information
DaniGuardiola committed Oct 4, 2024
1 parent e6b902f commit 41dc764
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/components/src/tabs/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ export const Tab = styled( Ariakit.Tab )`
[aria-orientation='horizontal'] & {
padding-inline: ${ space( 4 ) };
height: ${ space( 12 ) };
text-align: center;
&::after {
inset: ${ space( 3 ) };
Expand All @@ -192,6 +193,7 @@ export const Tab = styled( Ariakit.Tab )`
[aria-orientation='vertical'] & {
padding: ${ space( 2 ) } ${ space( 3 ) };
min-height: ${ space( 10 ) };
text-align: start;
scroll-margin: 24px;
&[aria-selected='true'] {
Expand Down

0 comments on commit 41dc764

Please sign in to comment.