Commit 8fa948d9 by Liu

fix:布局被压缩

parent 5f4d91ac
......@@ -6,6 +6,7 @@
flex: 1 1;
height: 100%;
width: 100%;
max-width: calc(100vw - 120px);
position: relative;
box-sizing: border-box;
// padding: 0 12px;
......
......@@ -64,7 +64,7 @@ export const ChatAnswerBox: React.FC<ChatAnswerBoxProps> = ({ record, showIndex,
/>
<div
style={{ background: '#F7FAFD' }}
className="rounded-[20px] box-border px-[16px] py-[12px] sm:px-[24px] sm:py-[20px] relative flex-1 min-w-0 sm:max-w-[700px] md:max-w-[900px] lg:max-w-[1200px]"
className="rounded-[20px] box-border px-[16px] py-[12px] sm:px-[24px] sm:py-[20px] relative flex-1 min-w-0"
>
{item.answer?.length || item.cardList?.length
? (
......
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