Skip to content

Commit

Permalink
[FE] FIX: 유저 수에 따라 변경되는 유저리스트 글자 크기 수정 #1415
Browse files Browse the repository at this point in the history
  • Loading branch information
junyoung2015 committed Nov 17, 2023
1 parent 56577db commit 0860000
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/components/Card/LentInfoCard/LentInfoCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ const LentInfoCard = ({
}) => {
const calculateFontSize = (userCount: number): string => {
const baseSize = 1;
const decrement = 0.2;
const minSize = 0.6;
const decrement = 0.05;
const minSize = 0.8;
const calculatedSize = Math.max(
baseSize - (userCount - 1) * decrement,
minSize
Expand Down

0 comments on commit 0860000

Please sign in to comment.