Skip to content

Commit

Permalink
ui: change height of column selector
Browse files Browse the repository at this point in the history
Previosuly, it was hard to identify there was more
items on the columns selector, since the scrollbar is confugured
by the user and might not show up right away (it will show once
you hover with mouse and scroll).
This commit changes the height of the filter, making part of
the next options to show up, hinting there is more options
when scrolling.

Part Of cockroachdb#91763

Release note (ui change): Change the height of column selector,
so it can hint there are more options to be selected once
scrolled.
  • Loading branch information
maryliag committed Nov 15, 2022
1 parent bbcf2a1 commit 89f5e2d
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,10 @@ const customStyles = {
position: "relative",
boxShadow: "none",
}),
menuList: (provided: any) => ({
...provided,
maxHeight: "310px",
}),
option: (provided: any, state: any) => ({
...provided,
backgroundColor: "white",
Expand Down

0 comments on commit 89f5e2d

Please sign in to comment.