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
e6d3b9d2
Commit
e6d3b9d2
authored
Oct 28, 2025
by
Liu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:输入框超出样式
parent
70d3fe5e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/components/ChatEditor/index.tsx
+2
-2
No files found.
src/components/ChatEditor/index.tsx
View file @
e6d3b9d2
...
...
@@ -186,7 +186,7 @@ const ChatEditorBase: React.FC<ChatEditorProps & WithAuthProps> = ({ checkAuth,
return
(
<
div
className=
"flex items-end w-full
max-w-[603px]
h-auto relative mx-auto rounded-[24px] overflow-hidden transition duration-200 py-[8px] pl-[12px] pr-[12px] sm:py-[12px] sm:pl-[32px] sm:pr-[20px]"
className=
"flex items-end w-full h-auto relative mx-auto rounded-[24px] 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 #0a0a0a78'
,
...
...
@@ -200,7 +200,7 @@ const ChatEditorBase: React.FC<ChatEditorProps & WithAuthProps> = ({ checkAuth,
enterKeyHint=
"send"
role=
"textbox"
translate=
"no"
className=
"w-full min-h-[40px] max-h-[48px] p-2 rounded overflow-y-auto outline-none"
className=
"w-full min-h-[40px] max-
w-[100%] max-
h-[48px] p-2 rounded overflow-y-auto outline-none"
onInput=
{
handleInput
}
onFocus=
{
onFocus
}
onKeyDown=
{
handleKeyDown
}
...
...
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