diff --git a/packages/bbui/src/List/ListItem.svelte b/packages/bbui/src/List/ListItem.svelte index 76a83e7b08..c9e4e397e2 100644 --- a/packages/bbui/src/List/ListItem.svelte +++ b/packages/bbui/src/List/ListItem.svelte @@ -9,11 +9,12 @@ export let avatar = false export let title = null export let subtitle = null + export let hoverable = false $: initials = avatar ? title?.[0] : null -
+
{#if icon}
@@ -39,11 +40,12 @@ .list-item { padding: 0 16px; height: 56px; - background: var(--spectrum-alias-background-color-tertiary); + background: var(--spectrum-global-color-gray-50); display: flex; flex-direction: row; justify-content: space-between; border: 1px solid var(--spectrum-global-color-gray-300); + transition: background 130ms ease-out; } .list-item:not(:first-child) { border-top: none; @@ -56,6 +58,10 @@ border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; } + .hoverable:hover { + cursor: pointer; + background: var(--spectrum-global-color-gray-75); + } .left, .right { display: flex; diff --git a/packages/builder/src/pages/builder/portal/manage/users/[userId].svelte b/packages/builder/src/pages/builder/portal/manage/users/[userId].svelte index 0f697a5007..aeea35f1fe 100644 --- a/packages/builder/src/pages/builder/portal/manage/users/[userId].svelte +++ b/packages/builder/src/pages/builder/portal/manage/users/[userId].svelte @@ -345,25 +345,22 @@ {#if allAppList.length} {#each allAppList as app} -
- -
- - {getRoleLabel(getHighestRole(app.roles))} - -
-
-
+
+ + {getRoleLabel(getHighestRole(app.roles))} + +
+ {/each} {:else} @@ -384,9 +381,6 @@