1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-02-23 00:22:19 +01:00

fix: make the tags column have a fixed width (#2451)

By setting a fixed width in the tags column we can save some extra
space.
This commit is contained in:
Nuno Góis 2022-11-16 16:05:17 +00:00 committed by GitHub
parent e25a108ea8
commit 538bbe7105
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -65,6 +65,7 @@ const columns = [
row.tags?.map(({ type, value }) => `${type}:${value}`).join('\n') || row.tags?.map(({ type, value }) => `${type}:${value}`).join('\n') ||
'', '',
Cell: FeatureTagCell, Cell: FeatureTagCell,
width: 80,
searchable: true, searchable: true,
}, },
{ {

View File

@ -202,6 +202,7 @@ export const ProjectFeatureToggles = ({
?.map(({ type, value }) => `${type}:${value}`) ?.map(({ type, value }) => `${type}:${value}`)
.join('\n') || '', .join('\n') || '',
Cell: FeatureTagCell, Cell: FeatureTagCell,
width: 80,
hideInMenu: true, hideInMenu: true,
searchable: true, searchable: true,
}, },