improved profile page padding + full width registration code for easier scanning
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
3392a2e68e
commit
54540be6e1
@ -220,7 +220,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
<div class="flex flex-wrap">
|
<div class="flex flex-wrap">
|
||||||
<div class="w-full p-4">
|
<div class="w-full">
|
||||||
<div class="flex flex-wrap flex-col w-full tabs">
|
<div class="flex flex-wrap flex-col w-full tabs">
|
||||||
<div class="flex lg:flex-wrap flex-row lg:space-x-2">
|
<div class="flex lg:flex-wrap flex-row lg:space-x-2">
|
||||||
<div class="flex-none">
|
<div class="flex-none">
|
||||||
@ -282,7 +282,11 @@
|
|||||||
<div class="w-full">
|
<div class="w-full">
|
||||||
<div class="form-element">
|
<div class="form-element">
|
||||||
<div class="text-lg">{{ $t("registrierungscode") }}</div>
|
<div class="text-lg">{{ $t("registrierungscode") }}</div>
|
||||||
<img alt="Registrierungscode" :src="state.barcode" />
|
<img
|
||||||
|
class="w-full md:w-auto mb-2"
|
||||||
|
alt="Registrierungscode"
|
||||||
|
:src="state.barcode"
|
||||||
|
/>
|
||||||
<div class="text-lg">{{ $t("vorname") }}</div>
|
<div class="text-lg">{{ $t("vorname") }}</div>
|
||||||
<p
|
<p
|
||||||
class="
|
class="
|
||||||
@ -647,7 +651,11 @@ function textToBase64Barcode(text) {
|
|||||||
textxalign: "center",
|
textxalign: "center",
|
||||||
backgroundcolor: "ffffff",
|
backgroundcolor: "ffffff",
|
||||||
};
|
};
|
||||||
if (codeconfig.bcid === "code39" || codeconfig.bcid === "code128"|| codeconfig.bcid === "ean13") {
|
if (
|
||||||
|
codeconfig.bcid === "code39" ||
|
||||||
|
codeconfig.bcid === "code128" ||
|
||||||
|
codeconfig.bcid === "ean13"
|
||||||
|
) {
|
||||||
codeconfig.height = 10;
|
codeconfig.height = 10;
|
||||||
}
|
}
|
||||||
bwipjs.toCanvas(canvas, codeconfig);
|
bwipjs.toCanvas(canvas, codeconfig);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user