Skip to content

Commit a17e862

Browse files
christophidespPanos Christophides
and
Panos Christophides
authored
update drop's max-height and opening position and alignment (#427)
Co-authored-by: Panos Christophides <[email protected]>
1 parent a30c8f8 commit a17e862

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/components/tableV2/components/columnsMenu.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,13 @@ const ColumnsMenu = ({ parentRef, isOpen, columns, onClose, pinnedColumns }) =>
2121
return (
2222
<Drop
2323
background="dropdown"
24-
height={{ max: "100vh" }}
24+
height={{ max: "400px" }}
2525
onClickOutside={onClose}
2626
overflow={{ vertical: "auto" }}
2727
round={1}
2828
target={parentRef.current}
2929
width={50}
30+
align={{ top: "bottom", right: "right" }}
3031
>
3132
<Flex
3233
border={{

0 commit comments

Comments
 (0)