From e1c2f22d5d5bbeafa1bcb38cf6b92101c4fabe18 Mon Sep 17 00:00:00 2001 From: Torsten Dittmann Date: Fri, 30 May 2025 16:26:38 +0200 Subject: [PATCH] Add minimum width constraints to identity table columns --- .../auth/user-[user]/identities/+page.svelte | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/src/routes/(console)/project-[region]-[project]/auth/user-[user]/identities/+page.svelte b/src/routes/(console)/project-[region]-[project]/auth/user-[user]/identities/+page.svelte index a15f62bb0..b87b1f3e3 100644 --- a/src/routes/(console)/project-[region]-[project]/auth/user-[user]/identities/+page.svelte +++ b/src/routes/(console)/project-[region]-[project]/auth/user-[user]/identities/+page.svelte @@ -13,17 +13,23 @@ export let data; const columns = writable([ - { 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 } } ]);