fix(rtl): mirror new user tour modal background

Mirrors the background image used in the new user tour modal
as it obstructs the readability of the modal title when in RTL
This commit is contained in:
Abderraouf Mehdi Bouhali
2022-10-24 09:49:42 +01:00
committed by Adolfo R. Brandes
parent bfad5cf684
commit 57d880de70
3 changed files with 5 additions and 0 deletions

View File

@@ -376,6 +376,7 @@
@import "course-home/progress-tab/course-completion/CompletionDonutChart.scss";
@import "course-home/progress-tab/grades/course-grade/GradeBar.scss";
@import "courseware/course/course-exit/CourseRecommendations";
@import "product-tours/newUserCourseHomeTour/NewUserCourseHomeTourModal.scss";
/** [MM-P2P] Experiment */
@import "experiments/mm-p2p/index.scss";

View File

@@ -19,6 +19,7 @@ function NewUserCourseHomeTourModal({
<MarketingModal
isOpen={isOpen}
title="New user course home prompt"
className="new-user-tour-dialog"
heroIsDark
hasCloseButton={false}
heroNode={(

View File

@@ -0,0 +1,3 @@
[dir="rtl"] .new-user-tour-dialog .pgn__modal-hero .pgn__modal-hero-bg {
transform: scaleX(-1);
}