Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

Commit 2e0a3ee

Browse files
authored
fix(svelte): Better preloading in file tree (#64327)
Currently the link element doesn't extend to the full width of the sidebar. You can click outside of the actual text to navigate to the file, but it won't be preloaded. Now the link occupies the full width. ## Test plan Manual testing.
1 parent f7d4517 commit 2e0a3ee

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

client/web-sveltekit/src/lib/TreeNode.svelte

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,7 @@
175175
display: inherit;
176176
gap: inherit;
177177
margin-left: var(--indent-size);
178+
width: 100%;
178179
}
179180
}
180181

client/web-sveltekit/src/routes/[...repo=reporev]/(validrev)/(code)/FileTree.svelte

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,8 +185,6 @@
185185
}
186186
187187
a {
188-
text-overflow: ellipsis;
189-
overflow: hidden;
190188
white-space: nowrap;
191189
color: inherit;
192190
text-decoration: none;

0 commit comments

Comments
 (0)