From 56ed7df6c09fa5ae7613dd572157f06eb31abb70 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Thu, 11 May 2017 08:46:38 +0100 Subject: [PATCH] Remove inline styles on footer --- md_pdf/assets/static/style.scss | 10 +++++++++- md_pdf/assets/templates/footer.html | 4 ++-- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/md_pdf/assets/static/style.scss b/md_pdf/assets/static/style.scss index 3ef6a56..80e8e88 100644 --- a/md_pdf/assets/static/style.scss +++ b/md_pdf/assets/static/style.scss @@ -47,6 +47,14 @@ body.content { } } -body.footer { +body.footer, body.header { font-size: $font-size-base; + + table { + width: 100%; + + td { + text-align: center; + } + } } diff --git a/md_pdf/assets/templates/footer.html b/md_pdf/assets/templates/footer.html index dc4ecf2..fdf7715 100644 --- a/md_pdf/assets/templates/footer.html +++ b/md_pdf/assets/templates/footer.html @@ -4,9 +4,9 @@ - +
-
+ Page of