diff --git a/src/App.tsx b/src/App.tsx index 282ba2e..07740f6 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -141,7 +141,7 @@ function MainContent(): React.JSX.Element { } if (nextPortraitMode) { await api.windowSetResizable(false) - await api.windowResize(940, 1280) + await api.windowResize(940, 1380) setSidebarCollapsed(true) } else { await api.windowSetResizable(true) diff --git a/src/components/Sidebar.tsx b/src/components/Sidebar.tsx index 73bf6b5..29ff1b0 100644 --- a/src/components/Sidebar.tsx +++ b/src/components/Sidebar.tsx @@ -193,7 +193,11 @@ export function Sidebar({ const showFloatingPanel = floatingExpand && collapsed && floatingExpanded - const renderSidebarBody = (isCollapsedView: boolean, isFloatingPanel = false) => ( + const renderSidebarBody = ( + isCollapsedView: boolean, + isFloatingPanel = false, + hideMenu = false + ) => ( <>