Skip to content

Commit 66237d1

Browse files
committed
Change max height of dropdown
1 parent 2e8c2a6 commit 66237d1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/Elastic.Documentation.Site/Assets/web-components/VersionDropdown.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,10 @@ const VersionDropdown = ({
250250
}
251251
}
252252
.euiContextMenuPanel > div:not(.euiContextMenuPanel__title) {
253-
max-height: 70vh;
253+
// I'm using this height so that the last element
254+
// is cut in half to make it clear to the user that
255+
// there is more content.
256+
max-height: 28.3rem;
254257
${useEuiOverflowScroll("y")}
255258
}
256259
.euiContextMenuPanel__title {

0 commit comments

Comments
 (0)