mirror of
https://gh-proxy.org/https://github.com/klinsmaya/SQLBot.git
synced 2026-11-08 01:06:59 +08:00
fix: bug fix
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user