From 60cede4e5f335c5c2f80016486fedca9d5947890 Mon Sep 17 00:00:00 2001 From: Silberengel Date: Tue, 17 Feb 2026 15:25:53 +0100 Subject: [PATCH] use our icons --- src/app.css | 43 ++++++++++++++++++++++++++++++++++ src/routes/signup/+page.svelte | 38 ++++++++++++++++++++++++------ 2 files changed, 74 insertions(+), 7 deletions(-) diff --git a/src/app.css b/src/app.css index 875c14b..0a00a43 100644 --- a/src/app.css +++ b/src/app.css @@ -478,6 +478,48 @@ input:disabled, textarea:disabled, select:disabled { cursor: pointer; transition: background 0.2s; white-space: nowrap; + display: flex; + align-items: center; + justify-content: center; +} + +.lookup-button .loading-text { + font-size: 0.85rem; +} + +.icon-small { + width: 16px; + height: 16px; + display: inline-block; + vertical-align: middle; + flex-shrink: 0; +} + +.icon-small svg { + width: 100%; + height: 100%; + color: inherit; +} + +.icon-inline { + width: 14px; + height: 14px; + display: inline-block; + vertical-align: middle; + margin-right: 0.25rem; +} + +.icon-inline svg { + width: 100%; + height: 100%; + color: inherit; +} + +.clear-lookup-button img, +.clear-lookup-button svg { + width: 14px; + height: 14px; + display: block; } .lookup-button:hover:not(:disabled) { @@ -622,6 +664,7 @@ input:disabled, textarea:disabled, select:disabled { line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; + line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } diff --git a/src/routes/signup/+page.svelte b/src/routes/signup/+page.svelte index ea3c7d6..9797c00 100644 --- a/src/routes/signup/+page.svelte +++ b/src/routes/signup/+page.svelte @@ -992,7 +992,14 @@ class="lookup-button" title="Search for repository announcements (supports hex ID, nevent, naddr, or search by name)" > - {lookupLoading['repo-existingRepoRef'] ? '🔍...' : '🔍'} + {#if lookupLoading['repo-existingRepoRef']} + Loading... + {:else} + + + + + {/if} {#each lookupResults['repo-existingRepoRef'] as result} @@ -1162,7 +1169,10 @@
Loading preview...
{:else if previewError}
- ⚠️ Warning: {previewError} + + Warning + Warning: + {previewError}
{/if}