mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-29 20:43:41 -05:00
Hide PDF pane while resizing (#16124)
GitOrigin-RevId: c2003e91b5b5a3cf6af073329aff6618e060018c
This commit is contained in:
parent
8c91a2e4cf
commit
da397e17d4
1 changed files with 7 additions and 1 deletions
|
@ -37,7 +37,13 @@ export const EditorAndPdf: FC<{
|
||||||
view === 'editor' || view === 'file' || pdfLayout === 'sideBySide'
|
view === 'editor' || view === 'file' || pdfLayout === 'sideBySide'
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<PanelGroup autoSaveId="ide-editor-pdf-layout" direction="horizontal">
|
<PanelGroup
|
||||||
|
autoSaveId="ide-editor-pdf-layout"
|
||||||
|
direction="horizontal"
|
||||||
|
className={classNames({
|
||||||
|
'ide-panel-group-resizing': resizing,
|
||||||
|
})}
|
||||||
|
>
|
||||||
{/* main */}
|
{/* main */}
|
||||||
{editorIsOpen && (
|
{editorIsOpen && (
|
||||||
<>
|
<>
|
||||||
|
|
Loading…
Reference in a new issue