Skip to content

Commit

Permalink
Tweak square input image styling
Browse files Browse the repository at this point in the history
  • Loading branch information
Georges-GNM committed Dec 4, 2024
1 parent 69e138f commit 2f0f6c1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion fronts-client/src/components/inputs/InputImage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,10 @@ const ImageComponent = styled.div<{
`aspect-ratio: 1/1;
background-size: cover;
background-repeat: no-repeat;
background-position: center;`}
background-position: center;
width: 95%;
height: 95%;
align-self: center;`}
flex-grow: 1;
cursor: grab;
`;
Expand Down

0 comments on commit 2f0f6c1

Please sign in to comment.