mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 22:23:42 +01:00
Merge pull request #20272 from overleaf/revert-20268-revert-19885-mj-resizeable-panels
[web] Upgrade react-resizable-panels (2nd attempt) GitOrigin-RevId: 643a90044dac0daf39245fa29267b16550fd6e69
This commit is contained in:
committed by
Copybot
parent
eb75c6e627
commit
663e2304f6
@@ -45,9 +45,9 @@ export const EditorAndPdf: FC = () => {
|
||||
hidden: view === 'history',
|
||||
})}
|
||||
>
|
||||
{/* main */}
|
||||
{/* ide */}
|
||||
<Panel
|
||||
id="panel-main"
|
||||
id="panel-ide"
|
||||
order={1}
|
||||
defaultSize={50}
|
||||
minSize={5}
|
||||
@@ -73,6 +73,7 @@ export const EditorAndPdf: FC = () => {
|
||||
className={classNames({
|
||||
hidden: !editorIsOpen,
|
||||
})}
|
||||
hitAreaMargins={{ coarse: 0, fine: 0 }}
|
||||
>
|
||||
<HorizontalToggler
|
||||
id="editor-pdf"
|
||||
|
||||
@@ -71,6 +71,7 @@ export const MainLayout: FC = () => {
|
||||
onDoubleClick={toggleSidebar}
|
||||
resizable={sidebarIsOpen}
|
||||
onDragging={setSidebarResizing}
|
||||
hitAreaMargins={{ coarse: 0, fine: 0 }}
|
||||
>
|
||||
<HorizontalToggler
|
||||
id="panel-sidebar"
|
||||
@@ -93,6 +94,7 @@ export const MainLayout: FC = () => {
|
||||
onDoubleClick={toggleChat}
|
||||
resizable={chatIsOpen}
|
||||
onDragging={setChatResizing}
|
||||
hitAreaMargins={{ coarse: 0, fine: 0 }}
|
||||
/>
|
||||
|
||||
{/* chat */}
|
||||
|
||||
Reference in New Issue
Block a user