1
0
Fork 0
mirror of synced 2024-06-30 20:10:54 +12:00

Update errors box to work better in dark theme

This commit is contained in:
Andrew Kingston 2020-12-04 08:27:59 +00:00
parent c346630dfe
commit d9df2a60eb

View file

@ -5,9 +5,9 @@
</script>
{#if hasErrors}
<div class="container bb__alert bb__alert--danger">
<div class="container">
{#each errors as error}
<div class="error">{error.dataPath} {error.message}</div>
<div class="error">{error.dataPath || ''} {error.message}</div>
{/each}
</div>
{/if}
@ -17,6 +17,8 @@
border-radius: var(--border-radius-m);
margin: 0;
padding: var(--spacing-m);
background-color: rgba(241, 165, 165, 0.2);
color: var(--red);
}
.error {