slide warnings in/out
This commit is contained in:
parent
b7b329cf90
commit
ab00da0593
@ -3,6 +3,7 @@ Copyright: Ankitects Pty Ltd and contributors
|
|||||||
License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||||
-->
|
-->
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
|
import { slide } from "svelte/transition";
|
||||||
import RevertButton from "./RevertButton.svelte";
|
import RevertButton from "./RevertButton.svelte";
|
||||||
import HelpPopup from "./HelpPopup.svelte";
|
import HelpPopup from "./HelpPopup.svelte";
|
||||||
|
|
||||||
@ -72,7 +73,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||||||
<div class="full-grid-width">
|
<div class="full-grid-width">
|
||||||
{#each warnings as warning}
|
{#each warnings as warning}
|
||||||
{#if warning}
|
{#if warning}
|
||||||
<div class="alert alert-warning">{warning}</div>
|
<div class="alert alert-warning" in:slide out:slide>{warning}</div>
|
||||||
{/if}
|
{/if}
|
||||||
{/each}
|
{/each}
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user