fix(style): table cell overflow
This commit is contained in:
@@ -195,7 +195,11 @@ const useInstancesColumns = ({
|
||||
showTitle: false
|
||||
},
|
||||
render: (text: string, record: ListItem) => (
|
||||
<AutoTooltip ghost style={{ maxWidth: 360 }}>
|
||||
<AutoTooltip
|
||||
ghost
|
||||
title={<span>{record.displayName || text}</span>}
|
||||
maxWidth={300}
|
||||
>
|
||||
<span className="text-primary">{record.displayName || text}</span>
|
||||
</AutoTooltip>
|
||||
)
|
||||
@@ -312,7 +316,7 @@ const useInstancesColumns = ({
|
||||
ellipsis: {
|
||||
showTitle: false
|
||||
},
|
||||
width: 260,
|
||||
width: 300,
|
||||
render: (_text: string, record: ListItem) => renderInstanceType(record)
|
||||
},
|
||||
{
|
||||
|
||||
@@ -44,7 +44,11 @@ const usePublicKeyColumns = ({
|
||||
showTitle: false
|
||||
},
|
||||
render: (text: string, record: ListItem) => (
|
||||
<AutoTooltip ghost style={{ maxWidth: 360 }}>
|
||||
<AutoTooltip
|
||||
ghost
|
||||
style={{ maxWidth: 360 }}
|
||||
title={<span>{record.displayName || text}</span>}
|
||||
>
|
||||
<span className="text-primary">{record.displayName || text}</span>
|
||||
</AutoTooltip>
|
||||
)
|
||||
|
||||
@@ -55,7 +55,11 @@ const useStorageTypeColumns = ({
|
||||
sorter: true,
|
||||
ellipsis: { showTitle: false },
|
||||
render: (text: string, record: ListItem) => (
|
||||
<AutoTooltip ghost minWidth={20}>
|
||||
<AutoTooltip
|
||||
ghost
|
||||
minWidth={20}
|
||||
title={<span>{record.displayName || text}</span>}
|
||||
>
|
||||
<span className="text-primary">{record.displayName || text}</span>
|
||||
</AutoTooltip>
|
||||
)
|
||||
|
||||
@@ -29,7 +29,11 @@ const useStorageColumns = ({
|
||||
showTitle: false
|
||||
},
|
||||
render: (text: string, record: ListItem) => (
|
||||
<AutoTooltip ghost style={{ maxWidth: 360 }}>
|
||||
<AutoTooltip
|
||||
ghost
|
||||
style={{ maxWidth: 360 }}
|
||||
title={<span>{record.displayName || text}</span>}
|
||||
>
|
||||
<span className="text-primary">{record.displayName || text}</span>
|
||||
</AutoTooltip>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user