Skip to content

Commit

Permalink
misc: add background to selected profile
Browse files Browse the repository at this point in the history
  • Loading branch information
Xyphyn committed Sep 16, 2023
1 parent a53d3d9 commit 398887f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/lib/components/ui/sidebar/ProfileButton.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@

switching = false
}}
class="w-full {expanded ? '' : '!p-1.5'}"
class="w-full font-normal {$profile?.id == prof.id
? 'bg-slate-100 dark:bg-zinc-900'
: ''} {expanded ? '' : '!p-1.5'}"
>
<ProfileAvatar
profile={prof}
Expand Down

0 comments on commit 398887f

Please sign in to comment.