Skip to content

Commit

Permalink
fix(filebrowser): highlight files and directories when clicked
Browse files Browse the repository at this point in the history
  • Loading branch information
ravenclaw900 committed Feb 23, 2022
1 parent a808c17 commit 7ce6eba
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/frontend/src/pages/FileBrowser.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -354,9 +354,10 @@
</tr>
{#each socketData.contents as contents}
<tr
class="select-none even:bg-white odd:bg-gray-200 dark:even:bg-black dark:odd:bg-gray-800"
class:!bg-dplime-dark={selPath.path ==
contents.path}
class="select-none even:bg-white odd:bg-gray-200 dark:even:bg-black dark:odd:bg-gray-800{selPath.path ==
contents.path
? ' !bg-dplime-dark'
: ''}"
class:hidden={!showHidden &&
contents.name[0] == "."}
on:dblclick={() => {
Expand Down

0 comments on commit 7ce6eba

Please sign in to comment.