diff --git a/packages/bbui/src/Icon/IconAvatar.svelte b/packages/bbui/src/Icon/IconAvatar.svelte index b404cdea9f..add51f5bdc 100644 --- a/packages/bbui/src/Icon/IconAvatar.svelte +++ b/packages/bbui/src/Icon/IconAvatar.svelte @@ -19,6 +19,7 @@ .icon { width: 28px; height: 28px; + flex: 0 0 28px; display: grid; place-items: center; border-radius: 50%; @@ -34,6 +35,7 @@ .icon.size--S { width: 22px; height: 22px; + flex: 0 0 22px; } .icon.size--S :global(.spectrum-Icon) { width: 16px; @@ -46,6 +48,7 @@ .icon.size--L { width: 40px; height: 40px; + flex: 0 0 40px; } .icon.size--L :global(.spectrum-Icon) { width: 28px; diff --git a/packages/bbui/src/List/ListItem.svelte b/packages/bbui/src/List/ListItem.svelte index 40d3c5541c..28015c4c57 100644 --- a/packages/bbui/src/List/ListItem.svelte +++ b/packages/bbui/src/List/ListItem.svelte @@ -30,9 +30,11 @@ {/if} -
- -
+ {#if $$slots.default} +
+ +
+ {/if} diff --git a/packages/builder/src/pages/builder/portal/users/groups/_components/GroupNameTableRenderer.svelte b/packages/builder/src/pages/builder/portal/users/groups/_components/GroupNameTableRenderer.svelte index e14458d12a..831ac6e20b 100644 --- a/packages/builder/src/pages/builder/portal/users/groups/_components/GroupNameTableRenderer.svelte +++ b/packages/builder/src/pages/builder/portal/users/groups/_components/GroupNameTableRenderer.svelte @@ -8,7 +8,9 @@
{#if value} - {value} +
+ {value} +
{:else}
-
{/if} @@ -20,8 +22,13 @@ align-items: center; overflow: hidden; gap: var(--spacing-m); + max-width: var(--max-cell-width); + flex: 1 1 auto; + width: 0; } .text { - opacity: 0.8; + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; } diff --git a/packages/builder/src/pages/builder/portal/users/groups/index.svelte b/packages/builder/src/pages/builder/portal/users/groups/index.svelte index 1a64c8948f..04b6030b16 100644 --- a/packages/builder/src/pages/builder/portal/users/groups/index.svelte +++ b/packages/builder/src/pages/builder/portal/users/groups/index.svelte @@ -40,9 +40,9 @@ ] $: schema = { - name: { displayName: "Group" }, - users: { sortable: false }, - roles: { sortable: false, displayName: "Apps" }, + name: { displayName: "Group", width: "2fr" }, + users: { sortable: false, width: "1fr" }, + roles: { sortable: false, displayName: "Apps", width: "1fr" }, } $: filteredGroups = filterGroups($groups, searchString) diff --git a/packages/builder/src/pages/builder/portal/users/users/index.svelte b/packages/builder/src/pages/builder/portal/users/users/index.svelte index 97cf0914b1..384475e89e 100644 --- a/packages/builder/src/pages/builder/portal/users/users/index.svelte +++ b/packages/builder/src/pages/builder/portal/users/users/index.svelte @@ -56,15 +56,18 @@ $: schema = { email: { sortable: false, + width: "2fr", }, role: { sortable: false, + width: "1fr", }, ...($licensing.groupsEnabled && { - userGroups: { sortable: false, displayName: "Groups" }, + userGroups: { sortable: false, displayName: "Groups", width: "1fr" }, }), apps: { sortable: false, + width: "1fr", }, } $: userData = []