1
0
Fork 0
mirror of https://github.com/overleaf/overleaf.git synced 2025-04-11 03:17:18 +00:00

Extend the size limits of some panels ()

GitOrigin-RevId: 4c25e93effc08c6bf62cdca7e95b31ca36ac154f
This commit is contained in:
Alf Eaton 2024-01-18 12:53:10 +00:00 committed by Copybot
parent 22b5828b3d
commit 6b3a953c8d
2 changed files with 3 additions and 3 deletions
services/web/frontend/js/features/ide-react/components

View file

@ -52,7 +52,7 @@ export const EditorAndPdf: FC<{
id="panel-main"
order={1}
defaultSize={50}
minSize={25}
minSize={5}
className={classNames('ide-react-panel', {
'ide-panel-group-resizing': resizing,
})}
@ -98,7 +98,7 @@ export const EditorAndPdf: FC<{
id="panel-pdf"
order={2}
defaultSize={50}
minSize={25}
minSize={5}
collapsible
onCollapse={handlePdfPaneCollapse}
onExpand={handlePdfPaneExpand}

View file

@ -66,7 +66,7 @@ export const MainLayout: FC = () => {
order={1}
defaultSize={15}
minSize={5}
maxSize={30}
maxSize={80}
collapsible
onCollapse={handleSidebarCollapse}
onExpand={handleSidebarExpand}