diff --git a/src/base/projects/Browser.svelte b/src/base/projects/Browser.svelte index 37e65d481..630feb9d7 100644 --- a/src/base/projects/Browser.svelte +++ b/src/base/projects/Browser.svelte @@ -107,6 +107,12 @@ width: 100%; } + .placeholder { + display: flex; + flex-direction: column; + width: 100%; + } + .source-tree { overflow-x: hidden; } @@ -129,6 +135,9 @@ padding: 1.5rem 0; min-width: 0; } + .placeholder { + padding: 1.5rem; + } .source-tree { padding: 0 2rem; margin: 1rem 0; @@ -149,14 +158,16 @@
- + {#if tree.entries.length > 0} + + {/if}
- {#if tree.entries.length} + {#if tree.entries.length > 0}
@@ -188,6 +199,17 @@ {/await}
+ {:else} +
+ + + Nothing to show + + + We couldn't find any files at this revision. + + +
{/if}