From 94775722591b5c732b58d4a36337d4be1f5951ae Mon Sep 17 00:00:00 2001 From: Brendan Howell Date: Thu, 2 May 2019 15:29:44 +0200 Subject: [PATCH] layout tweaks to articles --- screenless/bureau/publications/article.html | 4 ++++ screenless/bureau/publications/publications.py | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/screenless/bureau/publications/article.html b/screenless/bureau/publications/article.html index 78eb6e0..6ceb41a 100644 --- a/screenless/bureau/publications/article.html +++ b/screenless/bureau/publications/article.html @@ -49,6 +49,10 @@ width: 50%; height: 50%; } + .endnotebc { + width: 50%; + height: 50%; + }

${title}

diff --git a/screenless/bureau/publications/publications.py b/screenless/bureau/publications/publications.py index 6b7c6de..83b4799 100644 --- a/screenless/bureau/publications/publications.py +++ b/screenless/bureau/publications/publications.py @@ -175,7 +175,7 @@ class Publications(Bureau): #TODO: make this barcode inline thing a util method encoded_svg = b64encode(bytes(svg, 'utf-8')).decode() encoded_data = "data:image/svg+xml;charset=utf-8;base64," + encoded_svg - svg = '' % encoded_data + svg = '' % encoded_data footnote.append(lxml.html.fromstring(svg)) html.append(footnote)