fix: details layout

This commit is contained in:
jialin
2026-01-30 18:48:55 +08:00
parent 5747cae87a
commit d173e2d49b
14 changed files with 103 additions and 33 deletions
@@ -64,12 +64,20 @@ const Instance: React.FC = () => {
key: '1',
label: 'Backend Parameters',
children: (
<Flex gap={8} wrap="wrap">
<Flex
gap={8}
wrap="wrap"
style={{
backgroundColor: 'var(--ant-color-fill-quaternary)',
padding: '4px',
borderRadius: '2px'
}}
>
{instanceData?.backend_parameters?.map(
(param: string, index: number) => (
<Tag key={index} style={{ margin: 0 }}>
<span key={index} style={{ margin: 0 }}>
{param}
</Tag>
</span>
)
)}
</Flex>