From 52084a2c24dedc7bc15b6e71fc05e6e149f786d0 Mon Sep 17 00:00:00 2001 From: Daniel Dreier Date: Fri, 17 Jun 2016 14:38:50 -0500 Subject: [PATCH] Add CSS to center the 1D barcode and add PHP to include the custom CSS from Settings. --- resources/views/hardware/labels.blade.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/resources/views/hardware/labels.blade.php b/resources/views/hardware/labels.blade.php index ea27fe634e..d6ad1c5ee2 100644 --- a/resources/views/hardware/labels.blade.php +++ b/resources/views/hardware/labels.blade.php @@ -49,6 +49,11 @@ width: 100%; height: 100%; } + img.barcode { + display: block; + margin-left: auto; + margin-right: auto; + } .qr_text { width: {{ $qr_txt_size }}in; @@ -88,6 +93,9 @@ } } + @if (\App\Models\Setting::getSettings()->custom_css) + {{ \App\Models\Setting::getSettings()->show_custom_css() }} + @endif