Skip to content

Commit e75bb08

Browse files
authored
Merge pull request #83 from SWMTheFirstTake/dev
버튼 색상 이상하게 적용된 것만 빠르게 편집
2 parents 7684cc1 + ed201cc commit e75bb08

File tree

1 file changed

+27
-25
lines changed

1 file changed

+27
-25
lines changed

src/components/chat/message/ChatInputBox.tsx

Lines changed: 27 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -66,13 +66,13 @@ export default function ChatInputBox() {
6666
return (
6767
<div
6868
className="
69-
shrink-0
70-
flex flex-col items-end gap-2 w-full mx-auto
71-
bg-white dark:bg-blue-800
72-
rounded-t-2xl border border-blue-500 dark:border-blue-800
73-
transition-all duration-200
74-
p-2
75-
"
69+
shrink-0
70+
flex flex-col items-end gap-2 w-full mx-auto
71+
bg-white dark:bg-blue-800
72+
rounded-t-2xl border border-blue-500 dark:border-blue-800
73+
transition-all duration-200
74+
p-2
75+
"
7676
>
7777
<div className="flex space-x-5 items-start">
7878
{inputProduct && <Image src={inputProduct.product_url} alt={''} width={100} height={100} />}
@@ -110,15 +110,16 @@ export default function ChatInputBox() {
110110
<Button
111111
onClick={handleButtonClick}
112112
className="
113-
flex-shrink-0
114-
flex items-center justify-center
115-
w-16 h-16 rounded-full
116-
text-white dark:bg-blue-600
117-
hover:bg-blue-600 dark:hover:bg-blue-700
118-
disabled:bg-slate-300 disabled:dark:bg-slate-600 disabled:cursor-not-allowed
119-
transition-all duration-200
120-
mb-1
121-
"
113+
flex-shrink-0
114+
flex items-center justify-center
115+
w-16 h-16 rounded-full
116+
text-white
117+
bg-blue dark:bg-blue-600
118+
hover:bg-blue-600 dark:hover:bg-blue-700
119+
disabled:bg-slate-300 disabled:dark:bg-slate-600 disabled:cursor-not-allowed
120+
transition-all duration-200
121+
mb-1
122+
"
122123
disabled={disabled}
123124
>
124125
<Plus />
@@ -127,15 +128,16 @@ export default function ChatInputBox() {
127128
onClick={handleSendMessage}
128129
disabled={inputValue.trim() === '' || disabled}
129130
className="
130-
flex-shrink-0
131-
flex items-center justify-center
132-
w-16 h-16 rounded-full
133-
text-white dark:bg-blue-600
134-
hover:bg-blue-600 dark:hover:bg-blue-700
135-
disabled:bg-slate-300 disabled:dark:bg-slate-600 disabled:cursor-not-allowed
136-
transition-all duration-200
137-
mb-1
138-
"
131+
flex-shrink-0
132+
flex items-center justify-center
133+
w-16 h-16 rounded-full
134+
text-white
135+
bg-blue dark:bg-blue-600
136+
hover:bg-blue-600 dark:hover:bg-blue-700
137+
disabled:bg-slate-300 disabled:dark:bg-slate-600 disabled:cursor-not-allowed
138+
transition-all duration-200
139+
mb-1
140+
"
139141
>
140142
<Send className="w-5 h-5" />
141143
</Button>

0 commit comments

Comments
 (0)