mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-29 07:52:50 +00:00
perf: 优化AI小助手宽屏下的样式
This commit is contained in:
parent
408a57afac
commit
5b2a9d16e8
|
|
@ -36,9 +36,11 @@
|
|||
class="AiChat-embed"
|
||||
>
|
||||
<template #operateBefore>
|
||||
<el-button type="primary" link class="new-chat-button mb-8" @click="newChat">
|
||||
<el-icon><Plus /></el-icon><span class="ml-4">新建对话</span>
|
||||
</el-button>
|
||||
<div class="chat-width">
|
||||
<el-button type="primary" link class="new-chat-button mb-8" @click="newChat">
|
||||
<el-icon><Plus /></el-icon><span class="ml-4">新建对话</span>
|
||||
</el-button>
|
||||
</div>
|
||||
</template>
|
||||
</AiChat>
|
||||
</div>
|
||||
|
|
@ -334,5 +336,9 @@ onMounted(() => {
|
|||
padding-top: 12px;
|
||||
}
|
||||
}
|
||||
.chat-width {
|
||||
max-width: var(--app-chat-width, 860px);
|
||||
margin: 0 auto;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
|
|
|||
Loading…
Reference in New Issue