From 74d0f97f2f1dea2e9740dc661e18b5cae28e12c3 Mon Sep 17 00:00:00 2001 From: Brendan Howell Date: Fri, 29 Jul 2016 18:56:25 +0200 Subject: [PATCH] tidy up menu templates --- screenless/bureau/ihr/ihr.py | 2 +- screenless/bureau/ihr/menu.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/screenless/bureau/ihr/ihr.py b/screenless/bureau/ihr/ihr.py index 515c2ed..69f215b 100644 --- a/screenless/bureau/ihr/ihr.py +++ b/screenless/bureau/ihr/ihr.py @@ -51,7 +51,7 @@ class InhumanResources(Bureau): cmd = data["cmd"] cmdname = data["cmdname"] desc = data["desc"] - barcode = code128.svg(prefix + cmd + ".", thickness=1.5) + barcode = code128.svg(prefix + cmd + ".") except KeyError as e: print("cannot add invalid command:", str(e)) return diff --git a/screenless/bureau/ihr/menu.html b/screenless/bureau/ihr/menu.html index 1c13375..724ffbd 100644 --- a/screenless/bureau/ihr/menu.html +++ b/screenless/bureau/ihr/menu.html @@ -28,7 +28,7 @@ padding-bottom: 0.5em; } .cmdcol svg { - width: 300px; + width: 100%; } .cmddesc { margin-top: 0;