Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/lib/components/cardGrid.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@

export let hideFooter = false;
export let gap: 'none' | 'xxxs' | 'xxs' | 'xs' | 's' | 'm' | 'l' | 'xl' | 'xxl' | 'xxxl' = 'l';
export let style = '';
export let zIndex: number | undefined = undefined;
</script>

<Card.Base>
<Card.Base style="{zIndex !== undefined ? `position: relative; z-index: ${zIndex};` : ''} {style}">
<Layout.Stack gap="xl" justifyContent="space-around">
<Layout.GridFraction gap="xxxl" rowGap="xl" start={1} end={2}>
<Layout.Stack gap="xxs">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
}
</script>

<CardGrid>
<CardGrid zIndex={10}>
<svelte:fragment slot="title">Git configuration</svelte:fragment>
Add a Git installation to your project so you can connect repositories later through your function
or site settings.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@
: false;
</script>

<CardGrid>
<CardGrid zIndex={10}>
<svelte:fragment slot="title"
>{isGlobal ? 'Global variables' : 'Environment variables'}</svelte:fragment>
{#if isGlobal}
Expand Down