Skip to content

Commit

Permalink
fix: Library Preview Expand button covers dropdown (#1438)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisChV authored Oct 25, 2024
1 parent 4d4adce commit cff1177
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion src/library-authoring/LibraryAuthoringPage.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
}

.library-authoring-sidebar {
z-index: 1001; // to appear over header
z-index: 1000; // same as header
flex: 450px 0 0;
position: sticky;
top: 0;
Expand All @@ -21,6 +21,10 @@
overflow-y: auto;
}

.dropdown-menu {
z-index: 1001; // over the sidebar
}

// Reduce breadcrumb bottom margin
ol.list-inline {
margin-bottom: 0;
Expand Down
2 changes: 1 addition & 1 deletion src/library-authoring/component-info/ComponentPreview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ const ComponentPreview = () => {
variant="light"
iconBefore={OpenInFull}
onClick={openModal}
className="position-absolute right-0 zindex-10 m-1"
className="position-absolute right-0 zindex-1 m-1"
>
{intl.formatMessage(messages.previewExpandButtonTitle)}
</Button>
Expand Down

0 comments on commit cff1177

Please sign in to comment.