Skip to content

Commit

Permalink
(#72) ๐Ÿž fix: ์ค„๋ฐ”๊ฟˆ ๊ผฌ๋ž‘์ง€ ๋งํ’์„  ์ปดํฌ๋„ŒํŠธ์—์„œ ๊ผฌ๋ž‘์ง€ ์•ˆ ๋‚˜์˜ค๋Š” ํ˜„์ƒ ํ•ด๊ฒฐ
Browse files Browse the repository at this point in the history
  • Loading branch information
inaemon committed Nov 27, 2024
1 parent 974e0ec commit 50ef3ab
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ interface Props {
const RookiePreformattedMessage = ({message}: Props) => {
return (
// ๋ฉ”์‹œ์ง€๋ฅผ string์œผ๋กœ ๋ฐ›๊ณ  ์ค„๋ฐ”๊ฟˆ์„ \n ๊ฐ’์œผ๋กœ ๊ตฌ๋ถ„ํ•ด์„œ ์ถœ๋ ฅํ•˜๊ธฐ
<div className="whitespace-pre-wrap bg-main-0 p-3 rounded-lg text-xs font-regular text-grayscale-90 max-w-xs">
<div className="relative whitespace-pre-wrap bg-main-0 p-3 rounded-lg text-xs font-regular text-grayscale-90 max-w-xs">
{/* ๋งํ’์„  ๊ผฌ๋ž‘์ง€ */}
<Image src={tailIcon} alt="๊ผฌ๋ž‘์ง€" className="absolute left-[-12px] top-2 w-5 h-5"/>

{/* ๋ฉ”์‹œ์ง€ ์ถœ๋ ฅ */}
{[message]}
{message}
</div>
);
};
Expand Down

0 comments on commit 50ef3ab

Please sign in to comment.