Skip to content

Commit

Permalink
[core] fix(Tabs): use gap instead of margin to fix RTL spacing (#6834)
Browse files Browse the repository at this point in the history
  • Loading branch information
JosephChotard authored May 28, 2024
1 parent 052ccb5 commit 2893a00
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions packages/core/src/components/tabs/_tabs.scss
Original file line number Diff line number Diff line change
Expand Up @@ -90,16 +90,11 @@ $tab-indicator-width: 3px !default;
border: none;
display: flex;
flex: 0 0 auto;
gap: $pt-grid-size * 2;
list-style: none;
margin: 0;
padding: 0;
position: relative;

// this is fine.
/* stylelint-disable-next-line selector-no-universal */
> *:not(:last-child) {
margin-right: $pt-grid-size * 2;
}
}

.#{$ns}-tab {
Expand Down

1 comment on commit 2893a00

@svc-palantir-github
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[core] fix(Tabs): use gap instead of margin to fix RTL spacing (#6834)

Build artifact links for this commit: documentation | landing | table | demo

This is an automated comment from the deploy-preview CircleCI job.

Please sign in to comment.