Skip to content

Commit 4f00e96

Browse files
committed
fix: ChatThreadList 린트 오류 수정
1 parent d928e17 commit 4f00e96

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/pages/chat/ui/ChatThreadList.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ type ChatThreadListProps = {
1111

1212
export const ChatThreadList = ({ threads, selectedThreadId, unreadByThread, onSelect }: ChatThreadListProps) => {
1313
return (
14-
<aside className="flex w-full flex-col gap-4 lg:gap-6 xl:h-[932px] xl:w-[510px] xl:max-w-[510px] xl:shrink-0 xl:px-[10px]">
14+
<aside className="xl:px-xxs flex w-full flex-col gap-4 lg:gap-6 xl:h-[932px] xl:w-[510px] xl:max-w-[510px] xl:shrink-0">
1515
<h1 className="typo-title-2 text-gray-900">대화목록</h1>
1616
<div className="gap-xs flex min-h-0 flex-1 flex-col overflow-y-auto pr-2">
1717
{threads.map((thread) => {
@@ -23,7 +23,7 @@ export const ChatThreadList = ({ threads, selectedThreadId, unreadByThread, onSe
2323
type="button"
2424
onClick={() => onSelect(thread.id)}
2525
className={cn(
26-
'gap-xxs flex h-[130px] w-full items-center rounded-[16px] px-[16px] py-[16px] text-left transition-colors',
26+
'gap-xxs rounded-m px-l py-l flex h-[130px] w-full items-center text-left transition-colors',
2727
isActive ? 'bg-gray-50' : 'hover:bg-gray-50'
2828
)}
2929
aria-pressed={isActive}
@@ -39,7 +39,7 @@ export const ChatThreadList = ({ threads, selectedThreadId, unreadByThread, onSe
3939
isUnread ? 'text-gray-900' : 'text-gray-500'
4040
)}
4141
>
42-
{isUnread && <span className="bg-brand-primary h-[8px] w-[8px] rounded-full" aria-hidden="true" />}
42+
{isUnread && <span className="bg-brand-primary h-xxxs w-xxxs rounded-full" aria-hidden="true" />}
4343
{thread.preview}
4444
</span>
4545
<span className="typo-caption-1 text-gray-400">{thread.dateLabel}</span>

0 commit comments

Comments
 (0)