Skip to content

Commit 98436b4

Browse files
fix: fixed zindex and width issue (openedx#1346)
1 parent 7652fa4 commit 98436b4

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/courseware/course/new-sidebar/common/SidebarBase.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ const SidebarBase = ({
4141

4242
return (
4343
<section
44-
className={classNames('ml-0 ml-lg-4 h-auto align-top', {
44+
className={classNames('ml-0 ml-lg-4 h-auto align-top zindex-0', {
4545
'min-vh-100': !shouldDisplayFullScreen && allowFullHeight,
4646
'bg-white m-0 border-0 fixed-top vh-100 rounded-0': shouldDisplayFullScreen,
4747
'd-none': currentSidebar !== sidebarId,

src/courseware/course/sequence/sequence-navigation/SequenceNavigationTabs.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const SequenceNavigationTabs = ({
2323
<div
2424
ref={containerRef}
2525
className={classNames('sequence-navigation-tabs-container', {
26-
'navigation-tab-width': isOnXLDesktop && shouldDisplayDropdown,
26+
'navigation-tab-width': isOnXLDesktop,
2727
})}
2828
>
2929
<div

src/courseware/course/sidebar/common/SidebarBase.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ const SidebarBase = ({
3636

3737
return (
3838
<section
39-
className={classNames('ml-0 ml-lg-4 border border-light-400 rounded-sm h-auto align-top', {
39+
className={classNames('ml-0 ml-lg-4 border border-light-400 rounded-sm h-auto align-top zindex-0', {
4040
'bg-white m-0 border-0 fixed-top vh-100 rounded-0': shouldDisplayFullScreen,
4141
'min-vh-100': !shouldDisplayFullScreen,
4242
'd-none': currentSidebar !== sidebarId,

src/index.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@
174174
}
175175

176176
.navigation-tab-width {
177-
max-width: 30rem;
177+
max-width: 46rem;
178178
}
179179

180180
.sequence-navigation-dropdown {

0 commit comments

Comments
 (0)