Skip to content

Commit 076f7b9

Browse files
authored
Add files via upload
1 parent 6b84806 commit 076f7b9

2 files changed

Lines changed: 45 additions & 25 deletions

File tree

LIVE/index.css

Lines changed: 42 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -276,28 +276,54 @@ outline:none;
276276
border-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 {
302328
background:rgba(11, 21, 58, 0.4);
303329
color:var(--blue-strong)
@@ -316,12 +342,6 @@ font-size:10px;
316342
color: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 {
327347
display:flex;

LIVE/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,12 @@
4949

5050
let css = document.createElement("link");
5151
css.rel = "stylesheet";
52-
css.href = "index.css?v=331";
52+
css.href = "index.css?v=332";
5353
document.head.appendChild(css);
5454

5555
css = document.createElement("link");
5656
css.rel = "stylesheet";
57-
css.href = "index1.css?v=331";
57+
css.href = "index1.css?v=332";
5858
document.head.appendChild(css);
5959

6060

@@ -215,7 +215,7 @@
215215
</div>
216216

217217

218-
<script src="index.js?v=261"></script>
218+
<script src="index.js?v=262"></script>
219219

220220
</body>
221221
</html>

0 commit comments

Comments
 (0)