From 42373baa03e95f2bfee4e0cf1201412fcc4297e3 Mon Sep 17 00:00:00 2001 From: Donkie Date: Sun, 30 Jul 2023 09:51:49 +0200 Subject: [PATCH] Client: Moved form units to tooltip --- .../src/components/printing/printingDialog.tsx | 17 +++++++++++------ .../printing/qrCodePrintingDialog.tsx | 3 ++- 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/client/src/components/printing/printingDialog.tsx b/client/src/components/printing/printingDialog.tsx index 45e2c54..a0df3af 100644 --- a/client/src/components/printing/printingDialog.tsx +++ b/client/src/components/printing/printingDialog.tsx @@ -203,47 +203,51 @@ const PrintingDialog: React.FC = ({ labelCol={{ span: 14 }} wrapperCol={{ span: 10 }} > - + `${value} mm` }} value={marginLeft} onChange={(value) => { setMarginLeft(value); }} /> - + `${value} mm` }} value={marginTop} onChange={(value) => { setMarginTop(value); }} /> - + `${value} mm` }} value={marginRight} onChange={(value) => { setMarginRight(value); }} /> - + `${value} mm` }} value={marginBottom} onChange={(value) => { setMarginBottom(value); }} /> - + = ({ ))} - + `${value} mm` }} value={rowHeight} onChange={(value) => { setRowHeight(value); diff --git a/client/src/components/printing/qrCodePrintingDialog.tsx b/client/src/components/printing/qrCodePrintingDialog.tsx index 13d6aac..0b72416 100644 --- a/client/src/components/printing/qrCodePrintingDialog.tsx +++ b/client/src/components/printing/qrCodePrintingDialog.tsx @@ -63,9 +63,10 @@ const QRCodePrintingDialog: React.FC = ({ onChange={(checked) => setShowContent(checked)} /> - + `${value} mm` }} min={3} max={15} value={textSize}