Skip to content

Commit 70b5b6b

Browse files
committed
fix(rtl): use multi direction in order to override the default ltr
1 parent 5094fee commit 70b5b6b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/themes/ionic.mixins.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@
142142
}
143143

144144
@mixin multi-dir() {
145-
@if $app-direction == null {
145+
@if $app-direction == multi {
146146
$root: #{&};
147147
@at-root [dir="ltr"], [dir="rtl"] {
148148
#{$root} {
@@ -155,7 +155,7 @@
155155
}
156156

157157
@mixin rtl() {
158-
@if $app-direction == null {
158+
@if $app-direction == multi {
159159
$root: #{&};
160160
@at-root [dir="rtl"] {
161161
#{$root} {
@@ -168,7 +168,7 @@
168168
}
169169

170170
@mixin ltr() {
171-
@if $app-direction == null {
171+
@if $app-direction == multi {
172172
$root: #{&};
173173
@at-root [dir="ltr"] {
174174
#{$root} {

0 commit comments

Comments
 (0)