Increase signature canvas size and improve styling

Updated the signature popup and canvas dimensions in `ReceiverPage.razor` to enhance usability. Increased the height of all signature canvases to 360px and adjusted styles for better alignment and display.

Refined `envelope-viewer.css` by modifying the `sender-image-editor__signature-image-wrap` class to reduce flex size and padding. Added a new class for signature images to ensure proper scaling and object-fit behavior. Improved spacing and readability in `sender-image-editor__signature-meta` and introduced a new `sender-image-editor__signature-place` class for styling the signature place with italic font and smaller size.
This commit is contained in:
2026-11-23 14:06:24 +01:00
parent e6ee3098a5
commit f110772700
2 changed files with 17 additions and 9 deletions

View File

@@ -267,7 +267,7 @@
@* Signature Popup *@
<DxPopup @bind-Visible="_signaturePopupVisible"
HeaderText="Unterschrift erstellen"
Width="620px"
Width="640px"
MaxWidth="95vw"
ShowFooter="true"
CloseOnOutsideClick="false"
@@ -307,8 +307,8 @@
<p style="color: #6c757d; font-size: 0.875rem; margin-bottom: 0.75rem;">Bitte unterschreiben Sie im folgenden Feld.</p>
<canvas id="rp-signature-pad"
width="560"
height="180"
style="border: 2px solid #e9ecef; border-radius: 8px; background: white; width: 100%; max-width: 560px; touch-action: none; box-shadow: 0 1px 3px rgba(0,0,0,0.1);"></canvas>
height="360"
style="border: 2px solid #e9ecef; border-radius: 8px; background: white; width: 100%; max-width: 560px; display: block; margin: 0 auto; touch-action: none; box-shadow: 0 1px 3px rgba(0,0,0,0.1);"></canvas>
}
else if (_activeSignatureTab == SignatureTabText)
{
@@ -335,7 +335,7 @@
</div>
<canvas id="rp-typed-signature-pad"
width="560"
height="180"
height="360"
style="border: 2px solid #e9ecef; border-radius: 8px; background: white; width: 100%; max-width: 560px; box-shadow: 0 1px 3px rgba(0,0,0,0.1);"></canvas>
}
else
@@ -348,7 +348,7 @@
style="border: 2px solid #e9ecef; border-radius: 6px; padding: 0.625rem;" />
<canvas id="rp-image-signature-pad"
width="560"
height="180"
height="360"
style="border: 2px solid #e9ecef; border-radius: 8px; background: white; width: 100%; max-width: 560px; box-shadow: 0 1px 3px rgba(0,0,0,0.1);"></canvas>
}