Alway show the top bar, even when no data
This commit is contained in:
parent
3b0918311b
commit
ac53680831
|
@ -70,7 +70,6 @@
|
|||
</script>
|
||||
|
||||
<div class="overflow-hidden h-screen flex flex-col">
|
||||
{#if htmlContent || decompressed}
|
||||
<TopBar>
|
||||
<a
|
||||
href={'/editor' + getUrlDataPart()}
|
||||
|
@ -80,6 +79,7 @@
|
|||
<Icon class="text-xl" icon="fluent:document-edit-16-regular" />
|
||||
</a>
|
||||
</TopBar>
|
||||
{#if htmlContent || decompressed}
|
||||
<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">
|
||||
{#if isMarkdown}
|
||||
|
|
Loading…
Reference in New Issue
Block a user