diff --git a/src/lib/preview/Preview.svelte b/src/lib/preview/Preview.svelte index 46d3d84..f106fd3 100644 --- a/src/lib/preview/Preview.svelte +++ b/src/lib/preview/Preview.svelte @@ -69,6 +69,8 @@ font-size: 1rem; color: grey; font-variant: small-caps; + height: 1.2rem; + overflow: hidden; } .title { @@ -76,7 +78,6 @@ top: 320px; left: 1rem; right: 1rem; - align-self: center; font-family: 'Gill Sans', sans-serif; font-size: 2.5rem; font-variant: small-caps; @@ -85,9 +86,14 @@ font-weight: 600; height: 5rem; overflow: hidden; + display: flex; + justify-content: center; + align-items: center; + text-align: center; } .subtitle { position: absolute; + display: flex; top: 415px; left: 1rem; right: 2rem; @@ -95,6 +101,9 @@ color: #575; height: 2.6rem; overflow: hidden; + text-align: center; + align-items: center; + justify-content: center; } .content {