diff --git a/frontend/src/views/chat/index.vue b/frontend/src/views/chat/index.vue index ca5a773f..0f86876c 100644 --- a/frontend/src/views/chat/index.vue +++ b/frontend/src/views/chat/index.vue @@ -292,6 +292,7 @@ :disabled="isTyping" clearable class="input-area" + :class="isAssistant && 'is-assistant'" type="textarea" :rows="1" :autosize="{ minRows: 1, maxRows: 8.583 }" @@ -935,6 +936,20 @@ onMounted(() => { border-radius: 16px; line-height: 24px; } + + &.is-assistant { + :deep(.ed-textarea__inner) { + padding: 12px 12px 52px 12px; + font-weight: 400; + font-size: 16px; + line-height: 24px; + border-radius: 16px; + + &::placeholder { + color: #8f959e; + } + } + } } .input-icon {