Revert styling changes
This commit is contained in:
1 parent
c86d644a02
commit
859c4518ff
1 file changed
+4
-2
@@ -13,7 +13,7 @@ const FaceThumbnail = ({ person, onSelect, selected }: FaceThumbnailProps) => {
|
||||
return (
|
||||
<div
|
||||
className={cn(
|
||||
"col-span-1 group flex flex-col items-center p-2 border-2 text-center rounded-lg dark:hover:bg-zinc-900 hover:bg-zinc-100 gap-2 justify-center",
|
||||
" col-span-1 group flex flex-col items-center p-2 border-2 text-center rounded-lg dark:hover:bg-zinc-900 hover:bg-zinc-100 gap-2 justify-center",
|
||||
{
|
||||
"border-zinc-500": selected,
|
||||
}
|
||||
@@ -24,8 +24,10 @@ const FaceThumbnail = ({ person, onSelect, selected }: FaceThumbnailProps) => {
|
||||
<Avatar
|
||||
src={person.thumbnailPath}
|
||||
alt={person.name}
|
||||
|
||||
className="w-full h-full rounded-lg"
|
||||
/>
|
||||
|
||||
<p className="absolute text-[9px] top-1 right-1 bg-amber-300 px-1 text-zinc-900 rounded-lg group-hover:hidden">
|
||||
{person.similarity ? `${Math.round(person.similarity * 100)}%` : ""}
|
||||
</p>
|
||||
@@ -33,7 +35,7 @@ const FaceThumbnail = ({ person, onSelect, selected }: FaceThumbnailProps) => {
|
||||
|
||||
{/* Make name or "Untagged Person" clickable to open the person's page */}
|
||||
<a
|
||||
href={`${exImmichUrl}/people/${person.id}`} // Use exImmichUrl
|
||||
href={`${exImmichUrl}/people/${person.id}`}
|
||||
className="text-[12px] cursor-pointer"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
|
||||
Reference in new issue
Block a user