mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-11 05:47:28 -08:00
Add CSS to center the 1D barcode and add PHP to include the custom CSS from Settings.
This commit is contained in:
parent
4a148ac069
commit
52084a2c24
|
@ -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
|
||||
|
||||
</style>
|
||||
|
||||
|
|
Loading…
Reference in a new issue