Add minimum width constraints to identity table columns

This commit is contained in:
Torsten Dittmann committed 2025-05-30 16:26:38 +02:00
1 parent 76a78bbced
commit e1c2f22d5d
1 file changed
+12 -6
@@ -13,17 +13,23 @@
export let data;
const columns = writable<Column[]>([
{ id: '$id', title: 'Identity ID', type: 'string' },
{ id: 'provider', title: 'Provider', type: 'string' },
{ id: 'providerUid', title: 'Provider UID', type: 'string', hide: true },
{ id: 'providerEmail', title: 'Email', type: 'string' },
{ id: '$id', title: 'Identity ID', type: 'string', width: { min: 200 } },
{ id: 'provider', title: 'Provider', type: 'string', width: { min: 80 } },
{
id: 'providerUid',
title: 'Provider UID',
type: 'string',
hide: true,
width: { min: 80 }
},
{ id: 'providerEmail', title: 'Email', type: 'string', width: { min: 80 } },
{
id: 'providerAccessTokenExpiry',
title: 'Expiry Date',
type: 'datetime'
},
{ id: '$createdAt', title: 'Created', type: 'datetime' },
{ id: '$updatedAt', title: 'Updated', type: 'datetime', hide: true }
{ id: '$createdAt', title: 'Created', type: 'datetime', width: { min: 80 } },
{ id: '$updatedAt', title: 'Updated', type: 'datetime', hide: true, width: { min: 80 } }
]);
</script>