fix: small design fixes

This commit is contained in:
Arman committed 2025-02-25 17:59:44 +01:00
1 parent dd9c1b842b
commit 815db15614
2 files changed
+11 -5

No files matched your search

@@ -93,7 +93,9 @@
hideFooter={!repositoryBehaviour}
onSubmit={connectRepo}
bind:error>
<span slot="description"> Connect to a new repository or an existing one. </span>
<span slot="description">
Connect your site to an existing repository or create a new one.
</span>
{#if hasInstallations}
<Layout.Stack gap="xl">
<RepositoryBehaviour bind:repositoryBehaviour />
@@ -127,7 +129,10 @@
{#if repositoryBehaviour === 'existing'}
<Layout.Stack>
<Link variant="quiet" href="#/">
Missing a repository? check your permissions <Icon icon={IconArrowSmRight} />
<Layout.Stack direction="row" gap="xs">
Missing a repository? check your permissions <Icon
icon={IconArrowSmRight} />
</Layout.Stack>
</Link>
</Layout.Stack>
{:else if repositoryBehaviour === 'new'}
@@ -116,7 +116,7 @@
<Form onSubmit={updateConfiguration}>
<CardGrid>
<svelte:fragment slot="title">Repository</svelte:fragment>
<svelte:fragment slot="title">Git repository</svelte:fragment>
Automatically deploy changes for every commit pushed to your Git repository.
<svelte:fragment slot="aside">
{#if repository === false}
@@ -204,12 +204,13 @@
{:else if site.installationId || installations?.total}
<PinkCard.Base padding="none" border="dashed">
<Empty
type="secondary"
title="No repository is connected to this site yet"
description="Connect to enable automatic deployments">
<svelte:fragment slot="actions">
<Button secondary on:click={() => showConnectRepo.set(true)}>
<Icon icon={IconGithub} size="s" />
Connect repository
<Icon icon={IconGithub} size="s" slot="start" />
Connect Git repository
</Button>
</svelte:fragment>
</Empty>