From f94728bf67cf89fc13089965f19831347fca35b0 Mon Sep 17 00:00:00 2001 From: Developer 02 Date: Wed, 17 Jul 2024 14:11:20 +0200 Subject: [PATCH] fix: Ort und Datum Informationen wurden horizontal ausgerichtet. --- EnvelopeGenerator.Web/wwwroot/js/annotation.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/EnvelopeGenerator.Web/wwwroot/js/annotation.js b/EnvelopeGenerator.Web/wwwroot/js/annotation.js index bec00a78..cd8c7ebe 100644 --- a/EnvelopeGenerator.Web/wwwroot/js/annotation.js +++ b/EnvelopeGenerator.Web/wwwroot/js/annotation.js @@ -65,7 +65,7 @@ width: width * 0.75, height: height / 2, top: top + height + 25 + date_place_top_shift, - left: left - width * .25 + width * 1.30, + left: left + width * 1.30, }), fontSize: 8, backgroundColor: PSPDFKit.Color.TRANSPARENT, @@ -94,7 +94,7 @@ width: width * 1.2, height: height / 2, top: top + height + 25 + date_place_top_shift, - left: left - width * .25, + left: left, }), fontSize: 8 }) @@ -102,7 +102,7 @@ const formFieldCity = new PSPDFKit.FormFields.TextFormField({ name: id_city, annotationIds: PSPDFKit.Immutable.List([annotation_city.id]), - value: location.city, + value: isMobile() ? location.city : "", readOnly: isMobile() }) @@ -122,7 +122,7 @@ width: width * 0.75, height: height / 2, top: top + height + 25 + label_top_shift + date_place_top_shift, - left: left - width * .25 + width * 1.30 + left: left + width * 1.30 }), fontSize: 8, backgroundColor: PSPDFKit.Color.TRANSPARENT, @@ -149,7 +149,7 @@ width: width * 1.2, height: height / 2, top: top + height + 25 + label_top_shift + date_place_top_shift, - left: left - width * .25 + left: left }), fontSize: 8, backgroundColor: PSPDFKit.Color.TRANSPARENT,