Skip to content

Commit

Permalink
fix(tabstrip): move rtl styles inside mixin
Browse files Browse the repository at this point in the history
  • Loading branch information
TeyaVes committed Jan 9, 2025
1 parent 4c88fbd commit ac88fd0
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions packages/default/scss/tabstrip/_theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -129,21 +129,21 @@
}
}
}
}

// RTL
.k-rtl,
[dir="rtl"] {
&.k-tabstrip-scrollable-overlay {
&.k-tabstrip-top,
&.k-tabstrip-bottom {
.k-tabstrip-items-wrapper {
&::before {
background: linear-gradient(270deg, $kendo-tabstrip-scroll-overlay);
}

&::after {
background: linear-gradient(90deg, $kendo-tabstrip-scroll-overlay);
// RTL
.k-rtl,
[dir="rtl"] {
&.k-tabstrip-scrollable-overlay {
&.k-tabstrip-top,
&.k-tabstrip-bottom {
.k-tabstrip-items-wrapper {
&::before {
background: linear-gradient(270deg, $kendo-tabstrip-scroll-overlay);
}

&::after {
background: linear-gradient(90deg, $kendo-tabstrip-scroll-overlay);
}
}
}
}
Expand Down

0 comments on commit ac88fd0

Please sign in to comment.