From 34d1ef7d8d10cc767bfaaf4349bee456f9f8452d Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Sat, 18 May 2019 09:44:16 +1000 Subject: [PATCH] Change label size for build status --- InvenTree/static/css/inventree.css | 8 ++++++++ InvenTree/templates/build_status.html | 8 ++++---- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/InvenTree/static/css/inventree.css b/InvenTree/static/css/inventree.css index bca4560edf..bd05faaafe 100644 --- a/InvenTree/static/css/inventree.css +++ b/InvenTree/static/css/inventree.css @@ -32,6 +32,14 @@ padding: 5px 10px; } +/* Extra label styles */ + +.label-large { + padding: 5px; + margin: 3px; + font-size: 100%; +} + /* Force select2 elements in modal forms to be full width */ .select-full-width { width: 100%; diff --git a/InvenTree/templates/build_status.html b/InvenTree/templates/build_status.html index 3fc5f6086c..793e3ea231 100644 --- a/InvenTree/templates/build_status.html +++ b/InvenTree/templates/build_status.html @@ -1,11 +1,11 @@ {% if build.status == build.PENDING %} - + {% elif build.status == build.ALLOCATED %} - + {% elif build.status == build.CANCELLED %} - + {% elif build.status == build.COMPLETE %} - + {% endif %} {{ build.get_status_display }} \ No newline at end of file