From 3099d02f17054697116afdb0835e9134d272f3a5 Mon Sep 17 00:00:00 2001 From: Okan Sahin <39759830+mokimo@users.noreply.github.com> Date: Wed, 31 Jul 2024 09:10:30 +0200 Subject: [PATCH] Revert "MWPW-147867 - [marquee] support RTL for loc (#2640)" This reverts commit 49df5f752ff7eb41a260fbb1fd7d4405f50b64c6. --- libs/blocks/marquee/marquee.css | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/libs/blocks/marquee/marquee.css b/libs/blocks/marquee/marquee.css index cf14ac03e0..e6257baa3f 100644 --- a/libs/blocks/marquee/marquee.css +++ b/libs/blocks/marquee/marquee.css @@ -448,6 +448,10 @@ padding: var(--spacing-xl) 0; } + html[dir="rtl"] .marquee.split .foreground.container { + flex-direction: row-reverse; + } + .marquee.split .foreground.container .text { max-width: calc(50% - var(--grid-column-width)); } @@ -483,26 +487,15 @@ max-width: 212px; } + .marquee.split.row-reversed .foreground.container { justify-content: flex-end; } - html[dir="rtl"] .marquee.split .foreground.container { - flex-direction: row-reverse; - } - html[dir="rtl"] .marquee.split.row-reversed .foreground.container { justify-content: flex-start; } - html[dir="rtl"] .marquee.support-rtl.split .foreground.container { - flex-direction: row; - } - - html[dir="rtl"] .marquee.support-rtl.split.row-reversed .foreground.container { - flex-direction: row-reverse; - } - .marquee.split .asset img, .marquee.split.small .asset img, .marquee.split.large .asset img,