Skip to content

Commit 98d11a8

Browse files
committed
hotfix: 리더보드 텍스트 정렬 관련 이슈 해결
1 parent 3222061 commit 98d11a8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/app/components/Rank.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@ export const Rank = ({ name, rank, count, url, suffix }: IProp) => {
2727
{rank + '위'}
2828
</span>
2929

30-
<div className=" flex flex-col gap-0">
31-
<span className="group-hover:underline text-TITLE-3 text-TEXT-MAIN flex items-center gap-3 max-TBL:text-TITLE-4 max-MBI:text-SUBTITLE-4">
30+
<div className="flex flex-col gap-0 items-start">
31+
<span className="group-hover:underline break-words text-left text-TITLE-3 text-TEXT-MAIN flex items-center gap-3 max-TBL:text-TITLE-4 max-MBI:text-SUBTITLE-4">
3232
{name}
3333
</span>
3434
{suffix !== undefined && (
35-
<span className="text-SUBTITLE-4 text-TEXT-ALT max-TBL:text-SUBTITLE-5 max-MBI:text-SUBTITLE-5">
35+
<span className="text-SUBTITLE-4 w-fit text-TEXT-ALT max-TBL:text-SUBTITLE-5 max-MBI:text-SUBTITLE-5">
3636
{String(suffix)}
3737
</span>
3838
)}

0 commit comments

Comments
 (0)