diff --git a/app/templates/modules/labels/print_module.html b/app/templates/modules/labels/print_module.html index ace1917..1a5f371 100644 --- a/app/templates/modules/labels/print_module.html +++ b/app/templates/modules/labels/print_module.html @@ -107,33 +107,36 @@ #barcode-frame { position: absolute; bottom: 10px; - left: 50%; - transform: translateX(-50%); + left: 11.34px; + right: 11.34px; width: 227.4px; z-index: 5; + text-align: center; } - #barcode-display { - width: 100%; - height: auto; + #barcode-frame svg { display: block; + margin: 0 auto; + height: 50px; } #vertical-barcode-frame { position: absolute; - right: 11.34px; + right: 0; top: 65.7px; width: 32px; height: 321.3px; z-index: 5; - writing-mode: vertical-rl; - transform: rotate(180deg); + display: flex; + align-items: center; + justify-content: center; } - #vertical-barcode-display { + #vertical-barcode-frame svg { width: 100%; - height: 100%; - display: block; + height: auto; + transform: rotate(-90deg); + transform-origin: center; } {% endblock %}