removing uk-alert & uk-alert-danger and replacing with bb__alert class

This commit is contained in:
Victoria Sloan 2020-09-06 21:40:18 +01:00
parent f7a0b05beb
commit d4c63a7736
2 changed files with 11 additions and 1 deletions

View File

@ -154,3 +154,13 @@
.bb-table td > :last-child { margin-bottom: 0; }
.bb__alert {
position: relative;
margin-bottom: var(--spacing-m);
padding: var(--spacing-l);
}
.bb__alert--danger {
background: #fef4f6;
color: #f0506e;
}

View File

@ -5,7 +5,7 @@
</script>
{#if hasErrors}
<div uk-alert class="uk-alert-danger">
<div class="bb__alert bb__alert--danger">
{#each errors as error}
<div>{error.dataPath} {error.message}</div>
{/each}