Skip to content

armgit / ente

Public Imported from GitHub
0

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

Avatar fit

Manav Rathi79740eeee74d
diff --git a/web/packages/new/photos/components/PeopleList.tsx b/web/packages/new/photos/components/PeopleList.tsx
index 2fb88b4983..d72af38787 100644
--- a/web/packages/new/photos/components/PeopleList.tsx
+++ b/web/packages/new/photos/components/PeopleList.tsx
@@ -211,12 +211,12 @@ export const SuggestionFaceList: React.FC<SuggestionFaceListProps> = ({
return (
<SuggestionFaceList_>
{faces.map(({ file, faceID }) => (
- <UnclusteredFace key={faceID}>
+ <SuggestionFace key={faceID}>
<FaceCropImageView
placeholderDimension={112}
{...{ file, faceID }}
/>
- </UnclusteredFace>
+ </SuggestionFace>
))}
</SuggestionFaceList_>
);
@@ -225,7 +225,19 @@ export const SuggestionFaceList: React.FC<SuggestionFaceListProps> = ({
const SuggestionFaceList_ = styled("div")`
display: flex;
flex-wrap: wrap;
- gap: 5px;
+ gap: 2px;
+ border: 1px solid tomato;
+`;
+
+const SuggestionFace = styled("div")`
+ width: 87px;
+ height: 87px;
+ border-radius: 50%;
+ overflow: hidden;
+ & > img {
+ width: 100%;
+ height: 100%;
+ }
`;
type FaceCropImageViewProps = PreviewableFace & {