Skip to content

Commit

Permalink
Fixed RTL positioning of enticement on genfill int-marquee (#257)
Browse files Browse the repository at this point in the history
Fixed the enticement position in genfill interactive marquees for RTL locale in page and fragment.
Resolves: MWPW-145840

Test URLs:

Before: https://main--cc--adobecom.hlx.live/drafts/drashti/bugs/genfill/document
After: https://genfill-stage--cc--adobecom.hlx.live/drafts/drashti/bugs/genfill/document
  • Loading branch information
drashti1712 authored Apr 5, 2024
1 parent 42c6fbb commit 54895b3
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions creativecloud/features/genfill/genfill-interactive.css
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,13 @@
[dir="rtl"] .enticement-text {
position: absolute;
left: var(--spacing-xxs);
right: var(--spacing-xxs);
margin: 40px -20px 16px 0;
}

[dir="rtl"] .enticement-arrow {
right: -54px;
transform: scaleX(-1);
}
}

Expand All @@ -91,5 +98,12 @@
[dir="rtl"] .enticement-text {
position: absolute;
left: var(--spacing-xxs);
right: var(--spacing-xxs);
margin: 40px -20px 16px 0;
}

[dir="rtl"] .enticement-arrow {
right: -54px;
transform: scaleX(-1);
}
}

0 comments on commit 54895b3

Please sign in to comment.