@@ -276,28 +276,54 @@ outline:none;
276276border-color : rgba (155 , 225 , 240 , 0.4 );
277277}
278278
279+ /* ==========================================================================
280+ FIXED FILE TREE PATCH (Replaces old .file-tree, .tree-node, .tree-children)
281+ ========================================================================== */
282+
279283.file-tree {
280- font-family : var (--mono );
281- font-size : 12px ;
282- padding : 8px ;
283- height : 300px ;
284- overflow-y : auto!important ;
285- overflow-x : auto;
286- scrollbar-width : thin; /* Re-enabled cross-browser track */
287- scrollbar-color : rgba (155 , 225 , 240 , 0.25 ) transparent;
284+ font-family : var (--mono );
285+ font-size : 12px ;
286+ padding : 8px ;
287+ height : 300px ;
288+
289+ /* Core Horizontal Scroll Fixes */
290+ overflow-y : auto !important ;
291+ overflow-x : auto !important ; /* Re-enabled system overflow */
292+ display : block; /* Declares explicit block bounding */
293+
294+ /* Scrollbar Styling */
295+ scrollbar-width : thin;
296+ scrollbar-color : rgba (155 , 225 , 240 , 0.25 ) transparent;
288297}
289298
290299.tree-node {
291- padding : 6px 10px ;
292- border-radius : var (--radius-sm );
293- display : flex;
294- align-items : center;
295- cursor : pointer;
296- color : var (--muted );
297- transition : all 150ms ease;
298- user-select : none
300+ padding : 6px 10px ;
301+ border-radius : var (--radius-sm );
302+ display : flex;
303+ align-items : center;
304+ cursor : pointer;
305+ color : var (--muted );
306+ transition : all 150ms ease;
307+ user-select : none;
308+
309+ /* Critical Fix: Forces long file strings to stretch instead of wrap */
310+ white-space : nowrap;
311+ width : max-content;
312+ min-width : 100% ;
313+ }
314+
315+ .tree-children {
316+ margin-left : 14px ;
317+ border-left : 1px solid rgba (155 , 225 , 240 , 0.08 );
318+ padding-left : 8px ;
319+
320+ /* Critical Fix: Changes hidden flag to visible container expansion */
321+ overflow : visible;
322+ width : max-content;
323+ min-width : 100% ;
299324}
300325
326+
301327.tree-node : hover {
302328background : rgba (11 , 21 , 58 , 0.4 );
303329color : var (--blue-strong )
@@ -316,12 +342,6 @@ font-size:10px;
316342color : var (--blue )
317343}
318344
319- .tree-children {
320- margin-left : 14px ;
321- border-left : 1px solid rgba (155 , 225 , 240 , 0.08 );
322- padding-left : 8px ;
323- overflow : hidden
324- }
325345
326346.main {
327347display : flex;
0 commit comments