Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Change pin icon color to white

laurenspriem4c5a56dac7c6
diff --git a/web/packages/new/photos/components/gallery/BarImpl.tsx b/web/packages/new/photos/components/gallery/BarImpl.tsx
index 51c9103198..a1f0080970 100644
--- a/web/packages/new/photos/components/gallery/BarImpl.tsx
+++ b/web/packages/new/photos/components/gallery/BarImpl.tsx
@@ -569,6 +569,8 @@ const PersonPinnedIcon = styled(Overlay)`
display: flex;
justify-content: flex-start;
align-items: flex-end;
+ color: white;
+ z-index: 1;
& > .MuiSvgIcon-root {
font-size: 20px;
}
@@ -601,12 +603,14 @@ const PersonCard: React.FC<PersonCardProps> = ({
coverFaceID={person.displayFaceID}
onClick={() => onSelectPerson(person.id)}
>
+ {person.name && <CardText>{person.name}</CardText>}
{person.isPinned && (
<PersonPinnedIcon>
- <PushPinIcon sx={{ "&&": { fontSize: "18px" } }} />
+ <PushPinIcon
+ sx={{ "&&": { fontSize: "18px", color: "white" } }}
+ />
</PersonPinnedIcon>
)}
- {person.name && <CardText>{person.name}</CardText>}
</ItemCard>
{activePerson?.id === person.id && <ActiveIndicator />}
</div>