Skip to content

Commit

Permalink
fix(rtl): mirror new user tour modal background
Browse files Browse the repository at this point in the history
Mirrors the background image used in the new user tour modal
as it obstructs the readability of the modal title when in RTL
  • Loading branch information
ARMBouhali authored and arbrandes committed Nov 7, 2022
1 parent bfad5cf commit 57d880d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ function NewUserCourseHomeTourModal({
<MarketingModal
isOpen={isOpen}
title="New user course home prompt"
className="new-user-tour-dialog"
heroIsDark
hasCloseButton={false}
heroNode={(
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[dir="rtl"] .new-user-tour-dialog .pgn__modal-hero .pgn__modal-hero-bg {
transform: scaleX(-1);
}

0 comments on commit 57d880d

Please sign in to comment.