Center canvas elements in ReceiverPage.razor
Updated the `style` attribute of `<canvas>` elements to include `display: block;` and `margin: 0 auto;`, ensuring horizontal centering. Changes applied to `rp-typed-signature-pad` and `rp-image-signature-pad`.
This commit is contained in:
@@ -336,7 +336,7 @@
|
||||
<canvas id="rp-typed-signature-pad"
|
||||
width="560"
|
||||
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>
|
||||
style="border: 2px solid #e9ecef; border-radius: 8px; background: white; width: 100%; max-width: 560px; display: block; margin: 0 auto; box-shadow: 0 1px 3px rgba(0,0,0,0.1);"></canvas>
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -349,7 +349,7 @@
|
||||
<canvas id="rp-image-signature-pad"
|
||||
width="560"
|
||||
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>
|
||||
style="border: 2px solid #e9ecef; border-radius: 8px; background: white; width: 100%; max-width: 560px; display: block; margin: 0 auto; box-shadow: 0 1px 3px rgba(0,0,0,0.1);"></canvas>
|
||||
}
|
||||
|
||||
<div style="border-top: 2px solid #e9ecef; margin-top: 1.5rem; padding-top: 1.5rem;">
|
||||
|
||||
Reference in New Issue
Block a user