Skip to content

Commit 539bb7d

Browse files
authored
Merge pull request #36335 from raccoongang/lunyachek/fix/instructor-rtl-remove-horizontal-scroll
fix: Remove horizontal scroll on instructor page in RTL version
2 parents 53b5a8b + 139f5f7 commit 539bb7d

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

lms/static/sass/course/instructor/_instructor_2.scss

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -708,16 +708,14 @@
708708
.hint {
709709
@extend %t-copy-sub2;
710710

711-
display: block;
711+
display: none;
712712
position: absolute;
713713
top: ($baseline/2);
714-
715-
@include left(-9999em);
716-
717714
padding: ($baseline/2);
718715
width: 50%;
719716
background-color: $light-gray3;
720717
box-shadow: 2px 2px 3px $shadow;
718+
z-index: 1;
721719

722720
.hint-caret {
723721
display: block;
@@ -736,11 +734,10 @@
736734
/* ***
737735
* Ideally we want to handle functionality with JS.
738736
* This functionality should eventually be moved into CS/JS, and out of here. */
739-
.has-hint:hover > .hint {
740-
@include left($baseline*10);
741-
}
742-
737+
.has-hint:hover > .hint,
743738
.has-hint input:focus ~ .hint {
739+
display: block;
740+
744741
@include left($baseline*10);
745742
}
746743

0 commit comments

Comments
 (0)