style: 字体调整perf: 样式调整
This commit is contained in:
@ -96,7 +96,7 @@ export default function useChatHandler(options: UseChatHandlerOptions): UseChatH
|
||||
shape: 'round',
|
||||
style: ROLE_STYLE,
|
||||
messageRender: (message: string) => {
|
||||
return <div class="max-w-400px">
|
||||
return <div class="max-w-600px">
|
||||
{message}
|
||||
</div>;
|
||||
},
|
||||
@ -106,7 +106,7 @@ export default function useChatHandler(options: UseChatHandlerOptions): UseChatH
|
||||
variant: 'borderless',
|
||||
style: ROLE_STYLE,
|
||||
messageRender: (message: string) => {
|
||||
return <div class="max-w-400px markdown-wrap" v-html={md.render(message)} />;
|
||||
return <div class="max-w-600px markdown-wrap" v-html={md.render(message)} />;
|
||||
},
|
||||
footer: (params) => {
|
||||
const { content, item } = params as { content: string; item: MESSAGE.Answer };
|
||||
|
||||
Reference in New Issue
Block a user