diff --git a/src/app.css b/src/app.css index a5f343d..cbfbb43 100644 --- a/src/app.css +++ b/src/app.css @@ -336,6 +336,12 @@ @apply bg-gray-100 dark:bg-gray-900 p-4 rounded-lg; } + .literalblock { + pre { + @apply text-wrap; + } + } + table { @apply w-full overflow-x-auto; diff --git a/src/lib/components/Publication.svelte b/src/lib/components/Publication.svelte index 7d53987..3ec008d 100644 --- a/src/lib/components/Publication.svelte +++ b/src/lib/components/Publication.svelte @@ -1,5 +1,6 @@ + + {#if showTocButton && !showToc}
{#each leaves as leaf, i} - setLastElementRef(el, i)} - /> + {#if leaf == null} + + + Error loading content. One or more events could not be loaded. + + {:else} + setLastElementRef(el, i)} + /> + {/if} {/each} +
+ {#if isLoading} + + {:else if !isDone} + + {/if} +