Skip to content

Commit 833d8f7

Browse files
committed
fix: sort 아이콘 text 색상 수정
1 parent fa3fc72 commit 833d8f7

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

src/app/components/button/dropdown/SortBtn.tsx

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,16 +30,14 @@ const SortBtn: React.FC<SortProps> = ({ label, options, className = "", onSortCh
3030
<button
3131
type="button"
3232
onClick={toggleDropdown}
33-
className={cn("flex w-full items-center justify-between rounded-md font-medium text-gray-700", "bg-white")}
33+
className={cn(
34+
"flex w-full items-center justify-between rounded-md font-medium text-gray-700",
35+
"bg-transparent"
36+
)}
3437
>
3538
<span>{selectedLabel}</span>
36-
<span
37-
className={cn(
38-
"transition-transform duration-200",
39-
isOpen ? "rotate-180 text-gray-200" : "hover:text-gray-200"
40-
)}
41-
>
42-
<IoIosArrowDown />
39+
<span className={cn("transition-transform duration-200", isOpen ? "rotate-180" : "")}>
40+
<IoIosArrowDown className="text-gray-200" />
4341
</span>
4442
</button>
4543
</div>
@@ -59,7 +57,7 @@ const SortBtn: React.FC<SortProps> = ({ label, options, className = "", onSortCh
5957
onClick={() => handleSelect(option)}
6058
className={cn(
6159
"cursor-pointer rounded-md py-2 text-center",
62-
"text-gray-200 hover:bg-primary-orange-100 hover:text-gray-700"
60+
"text-gray-200 hover:bg-primary-orange-50 hover:font-bold hover:text-gray-700"
6361
)}
6462
>
6563
{option}

0 commit comments

Comments
 (0)