File tree Expand file tree Collapse file tree 2 files changed +28
-4
lines changed Expand file tree Collapse file tree 2 files changed +28
-4
lines changed Original file line number Diff line number Diff line change 1
1
// stylelint-disable declaration-no-important
2
2
3
3
@mixin float-left () {
4
- float : left !important ;
4
+ @include ltr {
5
+ float : left !important ;
6
+ }
7
+ @include rtl {
8
+ float : right !important ;
9
+ }
5
10
@include deprecate (" The `float-left` mixin" , " v4.3.0" , " v5" );
6
11
}
7
12
@mixin float-right () {
8
- float : right !important ;
13
+ @include ltr {
14
+ float : right !important ;
15
+ }
16
+ @include rtl {
17
+ float : left !important ;
18
+ }
9
19
@include deprecate (" The `float-right` mixin" , " v4.3.0" , " v5" );
10
20
}
11
21
@mixin float-none () {
Original file line number Diff line number Diff line change 4
4
@include media-breakpoint-up ($breakpoint ) {
5
5
$infix : breakpoint-infix ($breakpoint , $grid-breakpoints );
6
6
7
- .float#{$infix } -left { float : left !important ; }
8
- .float#{$infix } -right { float : right !important ; }
7
+ .float#{$infix } -left {
8
+ @include ltr {
9
+ float : left !important ;
10
+ }
11
+ @include rtl {
12
+ float : right !important ;
13
+ }
14
+ }
15
+ .float#{$infix } -right {
16
+ @include ltr {
17
+ float : right !important ;
18
+ }
19
+ @include rtl {
20
+ float : left !important ;
21
+ }
22
+ }
9
23
.float#{$infix } -none { float : none !important ; }
10
24
}
11
25
}
You can’t perform that action at this time.
0 commit comments