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
2e98e73c
Commit
2e98e73c
authored
Sep 02, 2024
by
HoMeTown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 样式调整
parent
0d3f9b0c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
src/components/ChatEditor/index.tsx
+1
-1
src/pages/Home/Home.tsx
+1
-1
No files found.
src/components/ChatEditor/index.tsx
View file @
2e98e73c
...
@@ -98,7 +98,7 @@ const ChatEditorBase: React.FC<ChatEditorProps & WithAuthProps> = ({ checkAuth,
...
@@ -98,7 +98,7 @@ const ChatEditorBase: React.FC<ChatEditorProps & WithAuthProps> = ({ checkAuth,
}
}
},
[
content
])
},
[
content
])
return
(
return
(
<
div
className=
"flex items-end w-full h-auto relative mx-auto bg-white rounded-[36px] overflow-hidden transition duration-200 py-[
12px] pl-[32px]
pr-[20px]"
>
<
div
className=
"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
<
div
ref=
{
editorRef
}
ref=
{
editorRef
}
contentEditable
contentEditable
...
...
src/pages/Home/Home.tsx
View file @
2e98e73c
...
@@ -53,7 +53,7 @@ export const Home: React.FC = () => {
...
@@ -53,7 +53,7 @@ export const Home: React.FC = () => {
<
GradientBackground
/>
<
GradientBackground
/>
<
div
className=
"h-full w-full"
>
<
div
className=
"h-full w-full"
>
<
div
className=
"box flex flex-col h-full w-full"
>
<
div
className=
"box flex flex-col h-full w-full"
>
<
div
className=
"flex-1 flex items-center overflow-y-scroll pt-[32px] scrollbar-hide sm:overflow-hidden"
>
<
div
className=
"flex-1
sm:
flex items-center overflow-y-scroll pt-[32px] scrollbar-hide sm:overflow-hidden"
>
<
div
className=
"w-full"
>
<
div
className=
"w-full"
>
<
div
className=
"px-[24px] pb-[24px] sm:px-0"
>
<
div
className=
"px-[24px] pb-[24px] sm:px-0"
>
{
/* slogan */
}
{
/* slogan */
}
...
...
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