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
bf718d95
Commit
bf718d95
authored
Sep 18, 2025
by
weiw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:修改输入框边框颜色
parent
52c97ca6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
4 deletions
+11
-4
src/components/ChatEditor/index.tsx
+8
-1
src/components/FilePreviewModal/DocxPreview.css
+3
-3
No files found.
src/components/ChatEditor/index.tsx
View file @
bf718d95
...
@@ -120,7 +120,14 @@ const ChatEditorBase: React.FC<ChatEditorProps & WithAuthProps> = ({ checkAuth,
...
@@ -120,7 +120,14 @@ const ChatEditorBase: React.FC<ChatEditorProps & WithAuthProps> = ({ checkAuth,
)
)
return
(
return
(
<
div
style=
{
{
border
:
'1px solid #E3E3E3'
}
}
className=
"ask-input flex items-end w-full h-auto relative mx-auto bg-white rounded-[36px] overflow-hidden transition duration-200 py-[8px] pl-[12px] pr-[12px] sm:py-[12px] sm:pl-[32px] sm:pr-[20px]"
>
<
div
className=
"flex items-end w-full h-auto relative mx-auto rounded-[36px] overflow-hidden transition duration-200 py-[8px] pl-[12px] pr-[12px] sm:py-[12px] sm:pl-[32px] sm:pr-[20px]"
style=
{
{
background
:
'#FFFFFF'
,
border
:
'1px solid #C5C8C8'
,
boxShadow
:
'0 8px 12px 0 rgba(235,235,235,0.30)'
,
}
}
>
<
div
<
div
ref=
{
editorRef
}
ref=
{
editorRef
}
contentEditable
contentEditable
...
...
src/components/FilePreviewModal/DocxPreview.css
View file @
bf718d95
...
@@ -17,14 +17,14 @@
...
@@ -17,14 +17,14 @@
.docx-document
h6
{
.docx-document
h6
{
word-wrap
:
break-word
;
word-wrap
:
break-word
;
word-break
:
break-word
;
word-break
:
break-word
;
line-height
:
1.4
;
line-height
:
1.4
!important
;
margin
:
0.8em
0
;
margin
:
0.8em
0
!important
;
}
}
.docx-document
p
{
.docx-document
p
{
word-wrap
:
break-word
;
word-wrap
:
break-word
;
word-break
:
break-word
;
word-break
:
break-word
;
line-height
:
1.
6
;
line-height
:
1.
4
!important
;
}
}
/* 确保表格内容也能正确换行 */
/* 确保表格内容也能正确换行 */
...
...
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