feat(web): Rounded corners on selected assets ()

* feat(web):  Rounded corners on selected assets

Add rounded corner on selected items and fix circle icon transparent background on selection

* refactor: Ran prettier to fix formatting issues
This commit is contained in:
Paul Thevenot 2023-08-03 16:11:21 +02:00 committed by GitHub
parent e4e049d040
commit 01210dceac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 12 additions and 3 deletions
web/src/lib/components/assets/thumbnail

View file

@ -30,7 +30,7 @@
class="object-cover transition duration-300 {border
? 'border-[3px] border-immich-dark-primary/80 hover:border-immich-primary'
: ''}"
class:rounded-lg={curve}
class:rounded-xl={curve}
class:shadow-lg={shadow}
class:rounded-full={circle}
class:opacity-0={!thumbhash && !complete}
@ -52,7 +52,7 @@
src={thumbHashToDataURL(Buffer.from(thumbhash, 'base64'))}
alt={altText}
class="absolute top-0 object-cover"
class:rounded-lg={curve}
class:rounded-xl={curve}
class:shadow-lg={shadow}
class:rounded-full={circle}
draggable="false"