Alway show the top bar, even when no data
This commit is contained in:
parent
3b0918311b
commit
ac53680831
|
@ -70,16 +70,16 @@
|
|||
</script>
|
||||
|
||||
<div class="overflow-hidden h-screen flex flex-col">
|
||||
<TopBar>
|
||||
<a
|
||||
href={'/editor' + getUrlDataPart()}
|
||||
class="p-1 hover:bg-gray-600/50"
|
||||
title="Edit a copy of this note"
|
||||
>
|
||||
<Icon class="text-xl" icon="fluent:document-edit-16-regular" />
|
||||
</a>
|
||||
</TopBar>
|
||||
{#if htmlContent || decompressed}
|
||||
<TopBar>
|
||||
<a
|
||||
href={'/editor' + getUrlDataPart()}
|
||||
class="p-1 hover:bg-gray-600/50"
|
||||
title="Edit a copy of this note"
|
||||
>
|
||||
<Icon class="text-xl" icon="fluent:document-edit-16-regular" />
|
||||
</a>
|
||||
</TopBar>
|
||||
<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