Skip to content

Commit 5fb1a25

Browse files
committed
fix: q-spinner-mat is not working properly in rtl mode (close quasarframework#2012)
1 parent 1ecb4da commit 5fb1a25

File tree

4 files changed

+19
-19
lines changed

4 files changed

+19
-19
lines changed

src/components/datetime/datetime.mat.styl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ div + .q-datetime-time
110110

111111
.q-datetime-clock-circle
112112
position relative
113-
animation q-pop-in .5s
113+
animation q-pop .5s /* rtl:ignore */
114114

115115
.q-datetime-clock-center
116116
height 6px
@@ -129,7 +129,7 @@ div + .q-datetime-time
129129
width 1px
130130
height 50%
131131
margin 0 auto
132-
transform-origin top center
132+
transform-origin top center /* rtl:ignore */
133133
min-height 0
134134
position absolute
135135
left 0

src/components/spinner/spinner.ios.styl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
vertical-align middle
33

44
.q-spinner-mat
5-
animation q-spin 2s linear infinite
6-
transform-origin center center
5+
animation q-spin 2s linear infinite /* rtl:ignore */
6+
transform-origin center center /* rtl:ignore */
77
.path
88
stroke-dasharray 1, 200
99
stroke-dashoffset 0
1010
stroke-linecap round
11-
animation q-mat-dash 1.5s ease-in-out infinite
11+
animation q-mat-dash 1.5s ease-in-out infinite /* rtl:ignore */
1212

1313
@keyframes q-mat-dash
1414
0%

src/components/spinner/spinner.mat.styl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
vertical-align middle
33

44
.q-spinner-mat
5-
animation q-spin 2s linear infinite
6-
transform-origin center center
5+
animation q-spin 2s linear infinite /* rtl:ignore */
6+
transform-origin center center /* rtl:ignore */
77
.path
88
stroke-dasharray 1, 200
99
stroke-dashoffset 0
1010
stroke-linecap round
11-
animation q-mat-dash 1.5s ease-in-out infinite
11+
animation q-mat-dash 1.5s ease-in-out infinite /* rtl:ignore */
1212

1313
@keyframes q-mat-dash
1414
0%

src/css/core/motion.styl

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
background transparent
66

77
.highlight-and-fade
8-
animation q-highlight 2s
8+
animation q-highlight 2s /* rtl:ignore */
99

1010
@keyframes q-rotate
1111
0%
@@ -23,19 +23,19 @@
2323
transition all .3s
2424

2525
.animate-spin, .animate-spin-reverse
26-
animation q-spin 2s infinite linear
26+
animation q-spin 2s infinite linear /* rtl:ignore */
2727
.animate-spin-reverse
2828
animation-direction reverse
2929
.animate-blink
30-
animation q-blink 1s steps(5, start) infinite
30+
animation q-blink 1s steps(5, start) infinite /* rtl:ignore */
3131
.animate-pop
32-
animation q-pop .2s
32+
animation q-pop .2s /* rtl:ignore */
3333
.animate-scale
34-
animation q-scale .2s
34+
animation q-scale .2s /* rtl:ignore */
3535
.animate-fade
36-
animation q-fade .2s
36+
animation q-fade .2s /* rtl:ignore */
3737
.animate-bounce
38-
animation q-bounce 2s infinite
38+
animation q-bounce 2s infinite /* rtl:ignore */
3939

4040
@keyframes q-blink
4141
to
@@ -82,11 +82,11 @@
8282
.animate-popup-up, .animate-popup-down
8383
animation-timing-function cubic-bezier(0.23, 1, 0.32, 1)
8484
.animate-popup-down
85-
animation q-popup-down .42s
86-
transform-origin left top 0px
85+
animation q-popup-down .42s /* rtl:ignore */
86+
transform-origin left top 0px /* rtl:ignore */
8787
.animate-popup-up
88-
animation q-popup-up .42s
89-
transform-origin left bottom 0px
88+
animation q-popup-up .42s /* rtl:ignore */
89+
transform-origin left bottom 0px /* rtl:ignore */
9090

9191
@keyframes q-popup-down
9292
0%

0 commit comments

Comments
 (0)