mirror of
https://github.com/aljazceru/hypergolic.git
synced 2025-12-17 13:34:22 +01:00
problem: style is not uniform
This commit is contained in:
@@ -1,20 +1,19 @@
|
||||
<script lang="ts">
|
||||
import Terminal from 'lucide-svelte/icons/terminal';
|
||||
import * as Alert from '$lib/components/ui/alert/index.js';
|
||||
export let text:string[];
|
||||
export let text: string[];
|
||||
</script>
|
||||
|
||||
<Alert.Root>
|
||||
<Terminal class="h-4 w-4" />
|
||||
<Alert.Title>Todo:</Alert.Title>
|
||||
<Alert.Description>
|
||||
{#if text.length > 1}
|
||||
<ul class="list-disc">
|
||||
{#each text as t}<li>{t}</li>{/each}
|
||||
</ul>
|
||||
{:else}
|
||||
{text}
|
||||
{/if}
|
||||
|
||||
</Alert.Description>
|
||||
{#if text.length > 1}
|
||||
<ul class="list-disc">
|
||||
{#each text as t}<li>{t}</li>{/each}
|
||||
</ul>
|
||||
{:else}
|
||||
{text}
|
||||
{/if}
|
||||
</Alert.Description>
|
||||
</Alert.Root>
|
||||
|
||||
Reference in New Issue
Block a user