Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Commit 8968c99

Browse files
EladBezalelThomasBurleson
authored andcommitted
fix(rtl-mixin): changed ltr override to initial
- Changed ltr override to `initial` as most of the properties doesn't support `auto` - Added `auto` fallback for IE as it doesn't support [initial](http://caniuse.com/#feat=css-initial-value) - Added `0` fallback for `auto` value (for cases that auto doesn't work) related #7409 Closes #7423
1 parent 77dc3a0 commit 8968c99

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/core/style/mixins.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,12 @@
118118
@mixin rtl-prop($ltr-prop, $rtl-prop, $value) {
119119
#{$ltr-prop}: $value;
120120
[dir=rtl] & {
121+
// fallback for auto
122+
#{$ltr-prop}: 0;
123+
// fallback for IE
121124
#{$ltr-prop}: auto;
125+
#{$ltr-prop}: initial;
126+
122127
#{$rtl-prop}: $value;
123128
}
124129
}

0 commit comments

Comments
 (0)