diff --git a/src/lib/preview/Preview.svelte b/src/lib/preview/Preview.svelte index dcd6098..5ff7ef6 100644 --- a/src/lib/preview/Preview.svelte +++ b/src/lib/preview/Preview.svelte @@ -1,5 +1,27 @@
@@ -8,8 +30,9 @@
{$title}
{$subtitle}
{$content}
-
{$date}
-
{$address}
+ {#if newdate}
{newdate.date}
{/if} + {#if newdate}
{newdate.time}
{/if} +
{$address}
@@ -51,6 +74,7 @@ top: 320px; left: 1rem; right: 1rem; + align-self: center; font-family: 'Gill Sans', sans-serif; font-size: 2.8rem; font-variant: small-caps; @@ -86,10 +110,19 @@ color: white; } + .time { + position: absolute; + top: 640px; + left: 23rem; + right: 6rem; + font-size: 1.8rem; + color: white; + } + .address { position: absolute; top: 620px; - left: 1rem; + left: 2rem; right: 20rem; font-size: 1.4rem; font-family: serif;