* fix(frontend): app polish * wip * fix(frontend): rework schedule drawer * fix(frontend): add Label wrapper for consistency * fix(frontend): fix tab inconstiencies * fix(frontend): make kbd modifier visible + fix spacings * fix(frontend): add spinning animation when assistant is loading * wip * fix(frontend): add inner border * feat(frontend): reorganised metadata fields * feat(frontend): fix merge * feat(frontend): fix build * feat(frontend): fix build * Update CenteredPage.svelte * feat(frontend): fix inner-border dark * wip * feat(frontend): Fix buttons --------- Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
23 lines
480 B
Svelte
23 lines
480 B
Svelte
<script lang="ts">
|
|
import Tooltip from './Tooltip.svelte'
|
|
|
|
export let label: string | undefined = undefined
|
|
export let tooltip: string | undefined = undefined
|
|
</script>
|
|
|
|
<div>
|
|
<div class="flex flex-row justify-between">
|
|
<h2 class="text-base font-semibold mb-2 flex flex-row gap-1">
|
|
{label}
|
|
<slot name="header" />
|
|
{#if tooltip}
|
|
<Tooltip>{tooltip}</Tooltip>
|
|
{/if}
|
|
</h2>
|
|
<slot name="action" />
|
|
</div>
|
|
<div class={$$props.class}>
|
|
<slot />
|
|
</div>
|
|
</div>
|