diff --git a/src/components/structures/LeftPanelWidget.tsx b/src/components/structures/LeftPanelWidget.tsx index d969c53bca..1f1a963f8f 100644 --- a/src/components/structures/LeftPanelWidget.tsx +++ b/src/components/structures/LeftPanelWidget.tsx @@ -35,7 +35,7 @@ interface IProps { } const MIN_HEIGHT = 100; -const MAX_HEIGHT = 500; +const MAX_HEIGHT = 500; // or 50% of the window height const INITIAL_HEIGHT = 280; const LeftPanelWidget: React.FC = ({ onResize }) => { @@ -85,7 +85,7 @@ const LeftPanelWidget: React.FC = ({ onResize }) => { content = { setHeight(height + d.height);