diff --git a/internal/epub/templates/epub_templates_style.css.tmpl b/internal/epub/templates/epub_templates_style.css.tmpl index abe97c2..ec2ec47 100644 --- a/internal/epub/templates/epub_templates_style.css.tmpl +++ b/internal/epub/templates/epub_templates_style.css.tmpl @@ -6,8 +6,6 @@ body { color: #{{ .View.Color.Foreground }}; background: #{{ .View.Color.Background }}; - width: {{ .View.Width }}px; - height: {{ .View.Height }}px; display: block; margin: 0; padding: 0; @@ -23,4 +21,6 @@ div { img { margin: 0; padding: 0; + width: {{ .View.Width }}px; + height: {{ .View.Height }}px; } \ No newline at end of file diff --git a/internal/epub/templates/epub_templates_text.xhtml.tmpl b/internal/epub/templates/epub_templates_text.xhtml.tmpl index d918065..55aa8f2 100644 --- a/internal/epub/templates/epub_templates_text.xhtml.tmpl +++ b/internal/epub/templates/epub_templates_text.xhtml.tmpl @@ -8,8 +8,8 @@ -
- {{ .Title }} +
+ {{ .Title }}
\ No newline at end of file