Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
sdream-ai-fe
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
侯明涛
sdream-ai-fe
Commits
8fa948d9
Commit
8fa948d9
authored
Jan 09, 2026
by
Liu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:布局被压缩
parent
5f4d91ac
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletions
+2
-1
src/layouts/MainLayout/MainLayout.module.less
+1
-0
src/pages/Chat/components/ChatItem/ChatAnswerBox.tsx
+1
-1
No files found.
src/layouts/MainLayout/MainLayout.module.less
View file @
8fa948d9
...
...
@@ -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;
...
...
src/pages/Chat/components/ChatItem/ChatAnswerBox.tsx
View file @
8fa948d9
...
...
@@ -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
?
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment