diff --git a/src/main/resources/static/index.css b/src/main/resources/static/index.css index 7b4108d..3c319f2 100644 --- a/src/main/resources/static/index.css +++ b/src/main/resources/static/index.css @@ -82,7 +82,14 @@ body { main { width: 80%; + flex: 1 +} + +.centered-content { + display: flex; justify-content: center; + align-items: center; + padding: 0 auto; } /* Heading Styling */ diff --git a/src/main/resources/templates/speech.ftl b/src/main/resources/templates/speech.ftl index 0fd7304..8c282d8 100644 --- a/src/main/resources/templates/speech.ftl +++ b/src/main/resources/templates/speech.ftl @@ -32,11 +32,14 @@
<#if picture??> - Foto von ${s.speakerName} +
+ Foto von ${s.speakerName} +
<#else>

(kein Foto verfügbar)

-

+
+
<#list s.content as c> <#include "speechContent.ftl">