mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-01-04 11:49:02 +08:00
fix: mcp tags overflow (#9662)
This commit is contained in:
parent
c376426cdf
commit
25c94dc2f0
@ -1,4 +1,5 @@
|
|||||||
import { DeleteIcon } from '@renderer/components/Icons'
|
import { DeleteIcon } from '@renderer/components/Icons'
|
||||||
|
import Scrollbar from '@renderer/components/Scrollbar'
|
||||||
import { getMcpTypeLabel } from '@renderer/i18n/label'
|
import { getMcpTypeLabel } from '@renderer/i18n/label'
|
||||||
import { MCPServer } from '@renderer/types'
|
import { MCPServer } from '@renderer/types'
|
||||||
import { Button, Switch, Tag, Typography } from 'antd'
|
import { Button, Switch, Tag, Typography } from 'antd'
|
||||||
@ -160,12 +161,19 @@ const ServerDescription = styled.div`
|
|||||||
height: 50px;
|
height: 50px;
|
||||||
`
|
`
|
||||||
|
|
||||||
const ServerFooter = styled.div`
|
const ServerFooter = styled(Scrollbar)`
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 4px;
|
|
||||||
justify-content: flex-start;
|
justify-content: flex-start;
|
||||||
|
flex-direction: row;
|
||||||
|
overflow-x: auto;
|
||||||
|
min-height: 22px;
|
||||||
|
gap: 4px;
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
|
|
||||||
|
&::-webkit-scrollbar {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
`
|
`
|
||||||
|
|
||||||
const ServerTag = styled(Tag)`
|
const ServerTag = styled(Tag)`
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user