diff --git a/package-lock.json b/package-lock.json index 8ef95a93f..b6a3d5e16 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5,7 +5,6 @@ "requires": true, "packages": { "": { - "name": "radicle-interface", "version": "1.0.0", "dependencies": { "@datamodels/identity-profile-basic": "^0.1.2", diff --git a/public/index.css b/public/index.css index 94884597f..e0d39812e 100644 --- a/public/index.css +++ b/public/index.css @@ -403,6 +403,11 @@ label.input { } } +span.align { + display: flex; + align-items: center; + justify-content: flex-start; +} span.small, .text-xsmall { font-size: 0.75rem; } diff --git a/src/Address.svelte b/src/Address.svelte index 976145686..9fde4127d 100644 --- a/src/Address.svelte +++ b/src/Address.svelte @@ -13,6 +13,7 @@ export let noBadge = false; export let noAvatar = false; export let compact = false; + export let small = false; // This property allows components eg. Header.svelte to pass a resolved profile object. export let profile: Profile | null = null; @@ -55,7 +56,7 @@ } -
+
{#if !noAvatar} {#if resolve && profile?.avatar} diff --git a/src/SiweConnect.svelte b/src/SiweConnect.svelte index e164014b1..d63105758 100644 --- a/src/SiweConnect.svelte +++ b/src/SiweConnect.svelte @@ -1,4 +1,5 @@ @@ -34,9 +36,14 @@ } }} > - {#if connection === Connection.Connecting} - - {:else} - {caption} - {/if} + + {#if address} + + {/if} + {#if connection === Connection.Connecting} + + {:else} + {caption} + {/if} + diff --git a/src/base/seeds/View.svelte b/src/base/seeds/View.svelte index 6fb3bf307..d008cb969 100644 --- a/src/base/seeds/View.svelte +++ b/src/base/seeds/View.svelte @@ -63,6 +63,9 @@ .session-info { display: flex; flex-direction: row; + background: var(--color-secondary-background); + padding: 0.25rem 0.5rem; + border-radius: var(--border-radius); } .desktop { display: block !important; @@ -109,11 +112,11 @@ {#if session?.signer} {#if siweSession}
- Signed in as -
+ Signed in as +
{:else} - + {/if} {:else}