diff --git a/packages/ui/src/routes/[projectId]/components/BranchCard.svelte b/packages/ui/src/routes/[projectId]/components/BranchCard.svelte index a5fde736d..02cc3612f 100644 --- a/packages/ui/src/routes/[projectId]/components/BranchCard.svelte +++ b/packages/ui/src/routes/[projectId]/components/BranchCard.svelte @@ -330,7 +330,9 @@ {/if} {:else if branch.commits.length == 0}
-

Nothing on this branch yet

+

+ This is a new branch. Let's start creating! +

Get some work done, then throw some files my way!

{:else} @@ -425,14 +427,16 @@ display: flex; flex-grow: 1; flex-direction: column; + color: var(--clr-theme-scale-ntrl-60); background: var(--clr-theme-container-light); justify-content: center; gap: var(--space-8); + padding: 0 var(--space-40); + } - & h1 { - color: var(--clr-theme-scale-ntrl-40); - text-align: center; - } + .new-branch h1 { + color: var(--clr-theme-scale-ntrl-40); + text-align: center; } .new-branch p { diff --git a/packages/ui/src/routes/[projectId]/components/BranchFiles.svelte b/packages/ui/src/routes/[projectId]/components/BranchFiles.svelte index 8068bd0bc..428dbe2fd 100644 --- a/packages/ui/src/routes/[projectId]/components/BranchFiles.svelte +++ b/packages/ui/src/routes/[projectId]/components/BranchFiles.svelte @@ -106,22 +106,6 @@ }} /> {/if} - {#if branch.files.length == 0} - {#if branch.commits.length == 0} -
-

Nothing on this branch yet.

- {#if !readonly} - -

Get some work done, then throw some files my way!

- {/if} -
- {:else} - -
- No uncommitted changes on this branch -
- {/if} - {/if}