gm-printer-label 3.3.0 → 3.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -246,6 +246,20 @@
|
|
|
246
246
|
}
|
|
247
247
|
}
|
|
248
248
|
|
|
249
|
+
&.gm-printer-label-block-type-verification_qrcode {
|
|
250
|
+
div[data-verificationqrcode] {
|
|
251
|
+
outline: 1px solid red;
|
|
252
|
+
|
|
253
|
+
&::before {
|
|
254
|
+
content: attr(data-placeholder);
|
|
255
|
+
position: absolute;
|
|
256
|
+
font-style: italic;
|
|
257
|
+
left: calc(50% - 1.5em);
|
|
258
|
+
top: calc(50% - 0.5em);
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
|
|
249
263
|
div[data-packagecode] {
|
|
250
264
|
outline: 1px solid red;
|
|
251
265
|
|
package/src/printer/block.js
CHANGED
|
@@ -298,7 +298,7 @@ class Block extends React.Component {
|
|
|
298
298
|
textMargin={0}
|
|
299
299
|
margin={0}
|
|
300
300
|
height={parseInt(style.height) - 14}
|
|
301
|
-
width={2}
|
|
301
|
+
width={doublePage ? 2.4 : 1.2}
|
|
302
302
|
displayValue={false}
|
|
303
303
|
dataName={production_barcode}
|
|
304
304
|
background='transparent'
|
|
@@ -333,7 +333,7 @@ class Block extends React.Component {
|
|
|
333
333
|
textMargin={0}
|
|
334
334
|
margin={0}
|
|
335
335
|
height={parseInt(style.height) - 14}
|
|
336
|
-
width={2}
|
|
336
|
+
width={doublePage ? 2.4 : 1.2}
|
|
337
337
|
displayValue={is69}
|
|
338
338
|
format={is69 ? 'EAN13' : undefined}
|
|
339
339
|
dataName={new_production_barcode}
|