Use TextBlock elements in file previews

This commit is contained in:
2022-02-08 11:32:36 +01:00
parent af82d45c6e
commit d232162046
9 changed files with 45 additions and 79 deletions

View File

@@ -246,7 +246,7 @@ onMount(() => {
theme preference of the person viewing the file. Set to 'None' to let
the viewer choose their own theme.
</p>
<ThemePicker on:theme_change={e => theme = e.detail}></ThemePicker>
<ThemePicker theme={theme} on:theme_change={e => theme = e.detail}></ThemePicker>
<h3>Header image</h3>
<p>