Skip to content

Commit

Permalink
Fix: 글자수제한 19->16, 이런점이좋았어요 세로가운데정렬 적용
Browse files Browse the repository at this point in the history
  • Loading branch information
LeHiHo committed Jan 26, 2024
1 parent 80f7e8b commit 7ed23e0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/components/DetailSectionBottom/DetailReviewStats.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const DetailReviewStats = () => {
backgroundColor: getColor(data.keywordCount),
}}
/>
<div className="absolute left-[14.5px] top-[12.23px] flex w-[90%] items-center justify-start">
<div className="absolute left-[14.5px] top-[12.23px] flex h-[16px] w-[90%] items-center justify-start">
<div className="flex flex-grow items-start justify-start gap-2.5">
<p>{getEmoji(data.content)}</p>
<p className="font-bold text-gray6">{data.content}</p>
Expand Down
4 changes: 2 additions & 2 deletions src/components/Plan/PlanEditItemBox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,8 @@ const PlanEditItemBox = ({
/>
<div className="flex h-[88px] w-full flex-col px-[10px] py-[8px]">
<div className="flex text-left text-[14px] font-medium text-black">
{item.name.length > 17
? item.name.slice(0, 17) + '...'
{item.name.length > 16
? item.name.slice(0, 16) + '...'
: item.name}
</div>
<div className="mb-[11px] mt-[4px] flex h-[16px] w-fit items-center justify-center rounded-[3px] bg-[#ededed] px-[4px] py-[8px] text-center text-[11px] text-black">
Expand Down
4 changes: 2 additions & 2 deletions src/components/Plan/PlanItemBox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ const PlanItemBox = ({
/>
<div className="flex h-[88px] w-full flex-col px-[10px] py-[8px]">
<div className="text-left text-[14px] font-medium text-black">
{item.name.length > 19
? item.name.slice(0, 19) + '...'
{item.name.length > 16
? item.name.slice(0, 16) + '...'
: item.name}
</div>
<div className="mb-[11px] mt-[4px] flex h-[16px] w-fit items-center justify-center rounded-[3px] bg-[#ededed] px-[4px] py-[8px] text-center text-[11px] text-black">
Expand Down

0 comments on commit 7ed23e0

Please sign in to comment.