Преглед на файлове

Merge pull request #26310 from overleaf/mj-history-view-cut-off

[web] Editor redesign: Avoid cutting off history view

GitOrigin-RevId: ecffc404ef6c210c852edd13c99b742545b73b32
Mathias Jakobsen преди 1 година
родител
ревизия
819cd85a0e
променени са 1 файла, в които са добавени 3 реда и са изтрити 0 реда
  1. 3 0
      services/web/frontend/js/features/ide-redesign/components/main-layout.tsx

+ 3 - 0
services/web/frontend/js/features/ide-redesign/components/main-layout.tsx

@@ -56,6 +56,9 @@ export default function MainLayout() {
             <PanelGroup
               autoSaveId="ide-redesign-editor-and-pdf-panel-group"
               direction="horizontal"
+              className={classNames({
+                hidden: view === 'history',
+              })}
             >
               <Panel
                 id="ide-redesign-editor-panel"