Skip to content

Commit

Permalink
feat(web) Make "no albums" card clickable (immich-app#888)
Browse files Browse the repository at this point in the history
* Make "no albums" card clickable

* Add cursor-pointer to clickable "no albums" card
  • Loading branch information
bo0tzz authored Oct 29, 2022
1 parent 811494e commit 6172d80
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion web/src/routes/albums/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,8 @@
<!-- Empty Message -->
{#if $albums.length === 0}
<div
class="border dark:border-immich-dark-gray p-5 w-[50%] m-auto mt-10 bg-gray-50 dark:bg-immich-dark-gray rounded-3xl flex flex-col place-content-center place-items-center"
on:click={handleCreateAlbum}
class="border dark:border-immich-dark-gray hover:bg-immich-primary/5 dark:hover:bg-immich-dark-primary/25 hover:cursor-pointer p-5 w-[50%] m-auto mt-10 bg-gray-50 dark:bg-immich-dark-gray rounded-3xl flex flex-col place-content-center place-items-center"
>
<img src="/empty-1.svg" alt="Empty shared album" width="500" />

Expand Down

0 comments on commit 6172d80

Please sign in to comment.