-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Small style updates based on feedback, better responsive padding
- Loading branch information
1 parent
3185c6f
commit c1d55a2
Showing
13 changed files
with
61 additions
and
51 deletions.
There are no files selected for viewing
27 changes: 17 additions & 10 deletions
27
src/lib/components/workflow/relationships/continue-as-new-node.svelte
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,30 @@ | ||
<script lang="ts"> | ||
import type { IconName } from '$lib/holocene/icon'; | ||
import Icon from '$lib/holocene/icon/icon.svelte'; | ||
import Link from '$lib/holocene/link.svelte'; | ||
export let label: string; | ||
export let value: string; | ||
export let href: string | undefined = undefined; | ||
export let icon: IconName | undefined = undefined; | ||
export let current = false; | ||
</script> | ||
|
||
<div | ||
class="flex w-full flex-col items-center gap-2 px-1 py-4 text-center text-xs transition-all lg:text-base {current && | ||
'bg-slate-500/30'} max-w-md" | ||
class="flex w-full flex-col items-center gap-2 border border-subtle px-1 py-4 text-center text-xs transition-all lg:text-base {current && | ||
'bg-subtle'} max-w-md" | ||
> | ||
<p>{label}</p> | ||
<div class="h-12 w-12 bg-indigo-200 dark:bg-indigo-600" /> | ||
{#if href} | ||
<Link {href}> | ||
{value} | ||
</Link> | ||
{:else} | ||
<p>{value}</p> | ||
{#if icon} | ||
<Icon name={icon} /> | ||
{/if} | ||
<p class="font-mono">{label}</p> | ||
<div class="px-1 lg:px-2"> | ||
{#if href} | ||
<Link {href}> | ||
{value} | ||
</Link> | ||
{:else} | ||
<p>{value}</p> | ||
{/if} | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
<div class="h-full px-8 pb-16"> | ||
<div class="h-full px-2 pb-16 pt-4 md:px-4 lg:px-8"> | ||
<slot /> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters