Alway show the top bar, even when no data
This commit is contained in:
parent
3b0918311b
commit
ac53680831
|
@ -70,7 +70,6 @@
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div class="overflow-hidden h-screen flex flex-col">
|
<div class="overflow-hidden h-screen flex flex-col">
|
||||||
{#if htmlContent || decompressed}
|
|
||||||
<TopBar>
|
<TopBar>
|
||||||
<a
|
<a
|
||||||
href={'/editor' + getUrlDataPart()}
|
href={'/editor' + getUrlDataPart()}
|
||||||
|
@ -80,6 +79,7 @@
|
||||||
<Icon class="text-xl" icon="fluent:document-edit-16-regular" />
|
<Icon class="text-xl" icon="fluent:document-edit-16-regular" />
|
||||||
</a>
|
</a>
|
||||||
</TopBar>
|
</TopBar>
|
||||||
|
{#if htmlContent || decompressed}
|
||||||
<div class="overflow-y-auto grow">
|
<div class="overflow-y-auto grow">
|
||||||
<div class="prose dark:prose-invert lg:py-12 p-[0.5em] md:max-w-3xl md:mx-auto lg:max-w-4xl">
|
<div class="prose dark:prose-invert lg:py-12 p-[0.5em] md:max-w-3xl md:mx-auto lg:max-w-4xl">
|
||||||
{#if isMarkdown}
|
{#if isMarkdown}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user