Skip to content

Commit 3e4555a

Browse files
pdanpdanrstoenescu
andauthored
fix(QParallax): fix not working in RTL mode quasarframework#8549 (quasarframework#8550)
* fix(QParallax): fix not working in RTL mode quasarframework#8549 quasarframework#8549 * Update QParallax.js Co-authored-by: Razvan Stoenescu <razvan.stoenescu@gmail.com>
1 parent 0a60f08 commit 3e4555a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

ui/src/components/parallax/QParallax.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ export default Vue.extend({
8484

8585
__setPos (offset) {
8686
// apply it immediately without any delay
87-
this.media.style.transform = `translate3D(-50%,${Math.round(offset)}px, 0)`
87+
this.media.style.transform = `translate3d(-50%,${Math.round(offset)}px,0)`
8888
},
8989

9090
__onResize () {

ui/src/components/parallax/QParallax.sass

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
.q-parallax__media
88
> img, > video
99
position: absolute
10-
left: 50%
10+
left: 50% #{"/* rtl:ignore */"}
1111
bottom: 0
1212
min-width: 100%
1313
min-height: 100%

ui/src/components/parallax/QParallax.styl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
.q-parallax__media
88
> img, > video
99
position: absolute
10-
left: 50%
10+
left: 50% /* rtl:ignore */
1111
bottom: 0
1212
min-width: 100%
1313
min-height: 100%

0 commit comments

Comments
 (0)