Skip to content

Commit

Permalink
[ fix ] 텍스트 길이 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
NeatKYU committed Sep 9, 2023
1 parent 48855cb commit d9bc330
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions src/pages/home/components/moderationList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,10 @@ export const ModerationListItem = ({ recordType, content, date, onClick }: Moder
const time = dateToAmPmTimeFormat(date);

return (
<li className="flex justify-between mb-3" onClick={onClick}>
<span className="flex">
<span className={`bg-${color} w-1.5 h-6 rounded-md mr-2`} />
<span className="text-base">{content}</span>
</span>
<span className="text-sm leading-6 text-gray-500">{time}</span>
<li className="flex mb-3 w-full" onClick={onClick}>
<span className={`bg-${color} w-1.5 min-w-[0.375rem] h-6 rounded-md mr-2`} />
<span className="block truncate text-base">{content}</span>
<span className="ml-auto text-sm leading-6 text-gray-500 whitespace-nowrap">{time}</span>
</li>
);
};

0 comments on commit d9bc330

Please sign in to comment.