Skip to content

Commit

Permalink
fix(foundation): fixed slight cropping at the bottom of images in Ava…
Browse files Browse the repository at this point in the history
…tarGroup
  • Loading branch information
bang9 committed Jun 14, 2023
1 parent d570851 commit 76ccadf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ const getWidthPoint = (idx: number, total: number) => {
return 0.5;
};
const getTopPoint = (idx: number, total: number) => {
if (total === 2) return -0.025;
if (total === 2) return 0;
if (total === 3 && idx === 0) return -0.025;
if (total === 3 && idx !== 0) return 0.525;
if (idx === 0 || idx === 1) return -0.025;
Expand Down

0 comments on commit 76ccadf

Please sign in to comment.