fix(sql-file): remove file selection radius

This commit is contained in:
t8y2 2026-07-07 16:26:39 +08:00
parent 3497df033f
commit b74e97d530
1 changed files with 2 additions and 2 deletions

View File

@ -430,8 +430,8 @@ function clearContextTarget() {
<div
v-for="{ entry, depth } in flatTree(folder.entries, folder.expanded)"
:key="entry.path"
class="flex items-center gap-1 px-2 py-1 cursor-pointer rounded-sm hover:bg-muted/60 text-sm"
:class="selectedPath === entry.path ? 'bg-accent text-accent-foreground' : ''"
class="flex items-center gap-1 px-2 py-1 cursor-pointer hover:bg-muted/60 text-sm"
:class="[entry.is_dir ? 'rounded-sm' : 'rounded-none', selectedPath === entry.path ? 'bg-accent text-accent-foreground' : '']"
:style="{ paddingLeft: depth * 16 + 8 + 'px' }"
@click="
selectPath(entry.path);