mirror of
https://github.com/immich-app/immich.git
synced 2025-07-03 21:40:00 +02:00
feat(web): ✨ Rounded corners on selected assets (#3524)
* 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:
parent
e4e049d040
commit
01210dceac
3 changed files with 12 additions and 3 deletions
web/src/lib/components/assets/thumbnail
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue