Increase label name size
This commit is contained in:
1 parent
872dcec85b
commit
ebb9789853
2 files changed
+2
-2
No files matched your search
@@ -122,7 +122,7 @@ export function LabelSheetDialog({ entries, onClose }: { entries: LabelEntry[];
|
||||
const textWidth = template.labelWidthMm - qrSize - padding * 3;
|
||||
pdf.setTextColor(23, 23, 23);
|
||||
pdf.setFont("helvetica", "bold");
|
||||
pdf.setFontSize(9);
|
||||
pdf.setFontSize(18);
|
||||
const lines = pdf.splitTextToSize(entry.node.name, textWidth).slice(0, 2);
|
||||
pdf.text(lines, textX, y + template.labelHeightMm / 2 - (lines.length - 1) * 2);
|
||||
});
|
||||
|
||||
+1
-1
@@ -489,7 +489,7 @@ svg { width: 18px; height: 18px; flex: none; }
|
||||
.sheet-label > span { display: grid; min-width: 0; flex: 1; align-content: center; gap: 2px; padding-right: 4%; }
|
||||
.sheet-label > span.slot-number { width: 100%; height: 100%; place-items: center; padding: 0; }
|
||||
.sheet-label strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
||||
.sheet-label strong { font-size: clamp(5px, .9vw, 9px); }
|
||||
.sheet-label strong { font-size: clamp(10px, 1.8vw, 18px); }
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root {
|
||||
|
||||
Reference in new issue
Block a user