perf(scss): optimize multi dir (#14156)

https://github.com/ionic-team/ionic/pull/12143
This commit is contained in:
Amit Moryossef
2018-03-13 00:01:51 +02:00
committed by Brandy Carney
parent d37623a2ca
commit ba63d01f78

View File

@@ -153,7 +153,7 @@
@mixin multi-dir() {
@if $app-direction == multi {
$root: #{&};
@at-root [dir="ltr"], [dir="rtl"] {
@at-root [dir] {
#{$root} {
@content;
}