From cf36f85708d5e34b83a01e739922b2e40a73515f Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Wed, 10 May 2017 19:02:19 +0100 Subject: [PATCH] Fix linter --- md_pdf/assets/static/style.scss | 6 +++--- md_pdf/build/template.py | 2 -- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/md_pdf/assets/static/style.scss b/md_pdf/assets/static/style.scss index 92b0380..2295a1b 100644 --- a/md_pdf/assets/static/style.scss +++ b/md_pdf/assets/static/style.scss @@ -1,4 +1,4 @@ -$image_spacing: 30px; +$image-spacing: 30px; body.cover { @@ -25,12 +25,12 @@ body.content { font-size: 12px; img { + margin-top: $image-spacing; width: 100%; - margin-top: $image_spacing } p.caption { - margin: 1px 5px $image_spacing; + margin: 1px 5px $image-spacing; padding: 0; font-style: italic; } diff --git a/md_pdf/build/template.py b/md_pdf/build/template.py index 7533106..b74a1d3 100644 --- a/md_pdf/build/template.py +++ b/md_pdf/build/template.py @@ -47,5 +47,3 @@ def parse_template(doc, config): ]: parsed_doc = parser(parsed_doc, config) return render_template(parsed_doc, config) - -