Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -249,16 +249,18 @@ const VersionDropdown = ({
cursor: default;
}
}
.euiContextMenuPanel
> div:not(.euiContextMenuPanel__title) {
// I'm using this height so that the last element
// is cut in half to make it clear to the user that
// there is more content.
max-height: 28.3rem;
${useEuiOverflowScroll('y')}
}
.euiContextMenuPanel__title {
position: sticky;
top: 0;
// !important because clicking on the title
// makes the background transparent
// and you unexpectedly see the items behind it.
background-color: ${euiTheme.colors
.backgroundBasePlain} !important;
}
${useEuiOverflowScroll('y')}
`}
/>
</EuiPopover>
Expand Down
Loading