Increase max width for resizable sidebar

Reviewed By: LukeDefeo

Differential Revision: D51305977

fbshipit-source-id: 03fbdba01d01aaecdd182538aed64ae396818f4d
This commit is contained in:
Anton Kastritskiy
2023-11-14 08:14:37 -08:00
committed by Facebook GitHub Bot
parent b633766199
commit 6c4c579f27

View File

@@ -168,7 +168,7 @@ export class Sidebar extends Component<SidebarProps, SidebarState> {
if (horizontal) {
width = width == null ? 200 : width;
minWidth = (minWidth == null ? 100 : minWidth) + gutterWidth;
maxWidth = maxWidth == null ? 600 : maxWidth;
maxWidth = maxWidth == null ? 1200 : maxWidth;
} else {
height = height == null ? 200 : height;
minHeight = minHeight == null ? 100 : minHeight;