聊天信息最大宽度

This commit is contained in:
junleea 2024-12-27 21:37:36 +08:00
parent afaea81a31
commit 6036a772fd
1 changed files with 4 additions and 4 deletions

View File

@ -143,9 +143,9 @@
</el-row> </el-row>
<el-row> <el-row>
<el-col :span="1000" :offset="1" class="msg"> <el-col :span="1000" :offset="1" class="msg" style="max-width: 50%;">
<!-- {{ item.Msg }} --> <!-- {{ item.Msg }} -->
<div v-html="renderMarkdown(item.Msg)"></div> <div v-html="renderMarkdown(item.Msg)" style="max-width: 50%;"></div>
</el-col> </el-col>
</el-row> </el-row>
</div> </div>
@ -165,9 +165,9 @@
</el-row> </el-row>
<el-row justify="end"> <el-row justify="end">
<el-col :span="1000" class="msg2" style="margin-right: 20px"> <el-col :span="1000" class="msg2" style="margin-right: 20px; max-width: 50%;">
<!-- {{ item.Msg }} --> <!-- {{ item.Msg }} -->
<div v-html="renderMarkdown(item.Msg)"></div> <div v-html="renderMarkdown(item.Msg)" style="max-width: 50%;"></div>
</el-col> </el-col>
</el-row> </el-row>
</div> </div>