mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-29 18:20:30 +08:00
Get rid of .error and .error-message global CSS classes
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
This commit is contained in:
@@ -63,10 +63,8 @@
|
||||
{:else if state.status === Status.Success}
|
||||
<p>Your registration was successfully updated.</p>
|
||||
{:else if state.status === Status.Failed}
|
||||
<p class="error">
|
||||
<span class="txt-bold">Error:</span>
|
||||
{state.error}
|
||||
</p>
|
||||
<span class="txt-bold">Error:</span>
|
||||
{state.error}
|
||||
{/if}
|
||||
</span>
|
||||
<span slot="actions">
|
||||
@@ -75,7 +73,7 @@
|
||||
{:else if state.status === Status.Success}
|
||||
<Button variant="foreground" on:click={onDone}>Done</Button>
|
||||
{:else if state.status === Status.Failed}
|
||||
<Button variant="foreground" on:click={onClose}>Close</Button>
|
||||
<Button variant="negative" on:click={onClose}>Close</Button>
|
||||
{/if}
|
||||
</span>
|
||||
</Modal>
|
||||
|
||||
Reference in New Issue
Block a user