Răsfoiți Sursa

Merge pull request #15686 from overleaf/td-ide-page-file-name-truncate

Make file name truncation work correctly in React IDE page file tree

GitOrigin-RevId: 8e8490be5ca7571a55c1ab2bea7590c54d004c21
Tim Down 2 ani în urmă
părinte
comite
07345ae70d
1 a modificat fișierele cu 5 adăugiri și 0 ștergeri
  1. 5 0
      services/web/frontend/stylesheets/app/editor/ide-react.less

+ 5 - 0
services/web/frontend/stylesheets/app/editor/ide-react.less

@@ -120,6 +120,11 @@
 
 
 .ide-react-file-tree-panel {
 .ide-react-file-tree-panel {
   display: flex;
   display: flex;
+
+  // Prevent the file tree expanding beyond the boundary of the panel
+  .file-tree {
+    width: 100%;
+  }
 }
 }
 
 
 // Ensure an element with class "full-size", such as the binary file view, stays within the bounds of the panel
 // Ensure an element with class "full-size", such as the binary file view, stays within the bounds of the panel