diff --git a/render/html/render.go b/render/html/render.go index d4d5117..71cd6bd 100644 --- a/render/html/render.go +++ b/render/html/render.go @@ -35,14 +35,16 @@ func Render(show types.Show) error { } const source = ` -
+
{{range $i, $slide := .Slides}}
- {{range $j, $block := $slide.Blocks}} -
- {{ $block.Words }} -
- {{end}} +
+ {{range $j, $block := $slide.Blocks}} +
+ {{ $block.Words }} +
+ {{end}} +
{{end}}
@@ -51,12 +53,17 @@ const source = ` body, html { margin: 0; padding: 0; - overflow: hidden; } .slide { width: 100%; height: 100%; + } + + .content { + margin: auto; + width: 90%; + height: 90%; padding: 2em; }