Skip to content

Commit f695dba

Browse files
committed
fix: bug fix
1 parent ad10f05 commit f695dba

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

frontend/src/views/chat/index.vue

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -292,6 +292,7 @@
292292
:disabled="isTyping"
293293
clearable
294294
class="input-area"
295+
:class="isAssistant && 'is-assistant'"
295296
type="textarea"
296297
:rows="1"
297298
:autosize="{ minRows: 1, maxRows: 8.583 }"
@@ -935,6 +936,20 @@ onMounted(() => {
935936
border-radius: 16px;
936937
line-height: 24px;
937938
}
939+
940+
&.is-assistant {
941+
:deep(.ed-textarea__inner) {
942+
padding: 12px 12px 52px 12px;
943+
font-weight: 400;
944+
font-size: 16px;
945+
line-height: 24px;
946+
border-radius: 16px;
947+
948+
&::placeholder {
949+
color: #8f959e;
950+
}
951+
}
952+
}
938953
}
939954
940955
.input-icon {

0 commit comments

Comments
 (0)