Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
赵月辉
/
fastgpt-migrated
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Unverified
Commit
bdb89a3e
authored
Sep 09, 2025
by
伍闲犬
Committed by
GitHub
Sep 09, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: table size (#5598)
parent
25207c50
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
projects/app/src/pageComponents/chat/ChatSetting/FavouriteAppSetting/index.tsx
+4
-3
No files found.
projects/app/src/pageComponents/chat/ChatSetting/FavouriteAppSetting/index.tsx
View file @
bdb89a3e
...
@@ -149,7 +149,7 @@ const FavouriteAppSetting = ({ Header }: Props) => {
...
@@ -149,7 +149,7 @@ const FavouriteAppSetting = ({ Header }: Props) => {
return
(
return
(
<
Box
<
Box
maxW=
"120px"
maxW=
{
[
'120px'
,
'160px'
]
}
key=
{
id
}
key=
{
id
}
fontSize=
"xs"
fontSize=
"xs"
borderRadius=
"sm"
borderRadius=
"sm"
...
@@ -250,7 +250,7 @@ const FavouriteAppSetting = ({ Header }: Props) => {
...
@@ -250,7 +250,7 @@ const FavouriteAppSetting = ({ Header }: Props) => {
</
Flex
>
</
Flex
>
{
/* 表格内容 */
}
{
/* 表格内容 */
}
<
Box
overflow=
{
'auto'
}
flex=
"1 0 0"
h=
{
0
}
px=
{
[
2
,
0
]
}
minH=
"300px"
>
<
Box
overflow=
{
'auto'
}
flex=
"1 0 0"
h=
{
0
}
px=
{
[
2
,
0
]
}
>
{
localFavourites
.
length
>
0
?
(
{
localFavourites
.
length
>
0
?
(
<
DndDrag
<
ChatFavouriteApp
>
<
DndDrag
<
ChatFavouriteApp
>
dataList=
{
localFavourites
}
dataList=
{
localFavourites
}
...
@@ -337,6 +337,7 @@ const FavouriteAppSetting = ({ Header }: Props) => {
...
@@ -337,6 +337,7 @@ const FavouriteAppSetting = ({ Header }: Props) => {
cursor=
"help"
cursor=
"help"
overflow=
"hidden"
overflow=
"hidden"
whiteSpace=
"nowrap"
whiteSpace=
"nowrap"
verticalAlign=
"middle"
display=
"inline-block"
display=
"inline-block"
textOverflow=
"ellipsis"
textOverflow=
"ellipsis"
>
>
...
@@ -395,7 +396,7 @@ const FavouriteAppSetting = ({ Header }: Props) => {
...
@@ -395,7 +396,7 @@ const FavouriteAppSetting = ({ Header }: Props) => {
maxW=
"300px"
maxW=
"300px"
onClick=
{
(
e
)
=>
e
.
stopPropagation
()
}
onClick=
{
(
e
)
=>
e
.
stopPropagation
()
}
>
>
{
row
.
favouriteTags
.
map
((
id
)
=>
(
{
row
.
favouriteTags
.
slice
(
2
).
map
((
id
)
=>
(
<
TagBox
key=
{
id
}
id=
{
id
}
/>
<
TagBox
key=
{
id
}
id=
{
id
}
/>
))
}
))
}
</
Flex
>
</
Flex
>
...
...
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