mirror of
https://github.com/labring/FastGPT.git
synced 2025-10-14 07:00:47 +00:00
fix: table size (#5598)
This commit is contained in:
@@ -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) => {
|
|||||||
</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) => {
|
|||||||
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) => {
|
|||||||
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>
|
||||||
|
Reference in New Issue
Block a user