fix(ui): improve desktop hover and cursor feedback
This commit is contained in:
6 files changed
+31
-19
No files matched your search
@@ -381,7 +381,7 @@ function clearContextTarget() {
|
||||
<div v-else>
|
||||
<div v-for="(folder, fi) in folders" :key="folder.path" class="border-b last:border-b-0">
|
||||
<div
|
||||
class="flex items-center gap-1 px-2 py-1.5 text-[11px] font-medium text-muted-foreground bg-muted/10 sticky top-0 cursor-pointer select-none hover:bg-muted/30"
|
||||
class="flex cursor-default items-center gap-1 px-2 py-1.5 text-[11px] font-medium text-muted-foreground bg-muted/10 sticky top-0 select-none hover:bg-muted/30"
|
||||
:class="selectedPath === folder.path ? 'bg-accent/60 text-accent-foreground' : ''"
|
||||
@click="
|
||||
toggleFolderCollapse(folder);
|
||||
@@ -429,7 +429,7 @@ 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 hover:bg-muted/60 text-sm"
|
||||
class="flex cursor-default items-center gap-1 px-2 py-1 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="
|
||||
|
||||
Reference in new issue
Block a user