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.
This commit is contained in:
Felix Kling 2024-08-07 15:23:35 +02:00 committed by GitHub
parent f7d4517dbc
commit 2e0a3ee92e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 2 deletions

View File

@ -175,6 +175,7 @@
display: inherit;
gap: inherit;
margin-left: var(--indent-size);
width: 100%;
}
}

View File

@ -185,8 +185,6 @@
}
a {
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
color: inherit;
text-decoration: none;