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:
@@ -22,10 +22,7 @@ withDefaults(
|
||||
<logo_fold v-if="!hideAvatar" />
|
||||
</el-icon>
|
||||
</div>
|
||||
<div
|
||||
:style="{ width: msg.role === 'assistant' ? 0 : '100%' }"
|
||||
:class="{ 'row-full': msg.role === 'assistant' }"
|
||||
>
|
||||
<div :class="{ 'row-full': msg.role === 'assistant', 'width-auto': msg.role === 'user' }">
|
||||
<slot></slot>
|
||||
</div>
|
||||
</div>
|
||||
@@ -59,6 +56,11 @@ withDefaults(
|
||||
width: 0;
|
||||
}
|
||||
|
||||
.width-auto {
|
||||
width: auto;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.ai-avatar {
|
||||
font-size: 28px;
|
||||
background: transparent;
|
||||
|
||||
Reference in New Issue
Block a user