Fix barcode and product master issues

This commit is contained in:
unknown 2026-02-06 09:54:10 +05:30
parent 0c81934534
commit 2b079d711d
2 changed files with 1192 additions and 1165 deletions

View File

@ -1,4 +1,15 @@
export const style = `<style> export const style = `<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html, body {
margin: 0 !important;
padding: 0 !important;
height: auto;
}
.heading .heading
{ {
color: #1292EE; color: #1292EE;
@ -367,6 +378,8 @@ height: 149mm;
grid-template-columns: repeat(6, 15mm); grid-template-columns: repeat(6, 15mm);
width: 90mm; width: 90mm;
column-gap: 0.5mm; column-gap: 0.5mm;
align-items: center;
justify-content: center;
} }
.BarQrprint3 { .BarQrprint3 {
@ -545,8 +558,10 @@ height: 149mm;
display: grid; display: grid;
grid-template-columns: repeat(3, 35mm); grid-template-columns: repeat(3, 35mm);
width: 105mm; width: 105mm;
column-gap: 0; column-gap: 0;
padding: 0; row-gap: 0;
padding: 0;
margin: 0;
} }
.barcode-wrapper-22x35 { .barcode-wrapper-22x35 {
@ -607,6 +622,7 @@ height: 149mm;
width: 105mm; width: 105mm;
margin: 0; margin: 0;
padding: 0; padding: 0;
} }
.label-wrapper-22x35 { .label-wrapper-22x35 {
@ -761,9 +777,10 @@ height: 149mm;
display: grid; display: grid;
grid-template-columns: repeat(6, 15mm); grid-template-columns: repeat(6, 15mm);
width: 100%; width: 100%;
column-gap: 0.5mm; column-gap: 0;
row-gap: 0; row-gap: 0;
align-items: flex-start; align-items: center;
justify-content: center;
} }
.label-15x15-wrapper { .label-15x15-wrapper {
@ -778,12 +795,12 @@ height: 149mm;
} }
.label-15x15-content { .label-15x15-content {
width: 100%; width: 15mm;
height: 100%; height: 15mm;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
justify-content: flex-start; justify-content: center;
text-align: center; text-align: center;
} }
@ -826,6 +843,11 @@ export const getPageStyle = (width) => `
size: ${width}mm auto; size: ${width}mm auto;
margin: 0; margin: 0;
} }
html, body {
margin: 0 !important;
padding: 0 !important;
}
} }
</style> </style>
`; `;

File diff suppressed because it is too large Load Diff