Skip to content

Commit

Permalink
pf4: Comment select menu overrides
Browse files Browse the repository at this point in the history
  • Loading branch information
garrett authored and jelly committed Nov 7, 2022
1 parent 6382600 commit 9814ec6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pkg/lib/patternfly/patternfly-4-overrides.scss
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,11 @@ to wrap around when there isn't enough space.
flex-wrap: wrap;
}

/* Fix select menu rendering */
ul.pf-c-select__menu {
max-height: 20rem;
/* Don't get too tall */
max-height: min(20rem, 50vh);
/* Don't have a horizontal scrollbar */
overflow-y: auto;
}

Expand Down

0 comments on commit 9814ec6

Please sign in to comment.