Skip to content

Commit 77e3b17

Browse files
ARMBouhaliarbrandes
authored andcommitted
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
1 parent b1d51a0 commit 77e3b17

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

src/index.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -376,6 +376,7 @@
376376
@import "course-home/progress-tab/course-completion/CompletionDonutChart.scss";
377377
@import "course-home/progress-tab/grades/course-grade/GradeBar.scss";
378378
@import "courseware/course/course-exit/CourseRecommendations";
379+
@import "product-tours/newUserCourseHomeTour/NewUserCourseHomeTourModal.scss";
379380

380381
/** [MM-P2P] Experiment */
381382
@import "experiments/mm-p2p/index.scss";

src/product-tours/newUserCourseHomeTour/NewUserCourseHomeTourModal.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ function NewUserCourseHomeTourModal({
1919
<MarketingModal
2020
isOpen={isOpen}
2121
title="New user course home prompt"
22+
className="new-user-tour-dialog"
2223
heroIsDark
2324
hasCloseButton={false}
2425
heroNode={(
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[dir="rtl"] .new-user-tour-dialog .pgn__modal-hero .pgn__modal-hero-bg {
2+
transform: scaleX(-1);
3+
}

0 commit comments

Comments
 (0)