Commit 8f0d869b by HoMeTown

fix: 修复输出时字体挤压的问题

parent ff4515aa
......@@ -24,7 +24,7 @@ export const MarkdownDetail: React.FC<MarkdownDetailProps> = ({ children }) => {
</PhotoProvider>
),
p(data): JSX.Element {
return <p className="leading-[24px] break-words" {...data} />
return <p className="leading-[24px] break-words w-full" {...data} />
},
ul(data): JSX.Element {
return <ul className="mb-[24px]" {...data} />
......
......@@ -64,7 +64,7 @@ export const ChatAnswerBox: React.FC<ChatAnswerBoxProps> = ({ record, showIndex,
)
: <Spinner size="sm" />}
</motion.div>
<div className="w-[130px]"></div>
<div className="w-[65px] flex-shrink-0"></div>
</div>
{isTyping && (
<div className="pl-[62px] mt-[12px]">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment