Changes
Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com>
This commit is contained in:
co-authored by
renee-png
parent
bdf249acda
commit
f2aa2e2a85
@@ -400,7 +400,7 @@ function PleadingNewPage() {
|
||||
</div>
|
||||
|
||||
{includeSignature ? (
|
||||
!sigBlock.trim() && !sigImagePath ? (
|
||||
!sigBlock.trim() && !sigImagePath && !sigTyped.trim() ? (
|
||||
<div className="text-sm italic text-muted-foreground border border-dashed rounded p-3">
|
||||
No signature found on your profile yet. Add one in Settings → Profile.
|
||||
</div>
|
||||
@@ -409,19 +409,28 @@ function PleadingNewPage() {
|
||||
className="border rounded-md p-4 bg-white text-black"
|
||||
style={{ fontFamily: '"Bookman Old Style", Georgia, serif', fontSize: 12 }}
|
||||
>
|
||||
{sigImagePath && sigImageDataUrl ? (
|
||||
<img
|
||||
src={sigImageDataUrl}
|
||||
alt="Signature"
|
||||
className="mb-1 max-h-[60px] object-contain"
|
||||
/>
|
||||
) : (
|
||||
<div className="h-10" />
|
||||
)}
|
||||
<div>_______________________________</div>
|
||||
<pre className="whitespace-pre-wrap font-[inherit] text-[12px] leading-snug mt-1">
|
||||
{sigBlock || <span className="text-muted-foreground italic">(no block text)</span>}
|
||||
</pre>
|
||||
<div style={{ marginLeft: "66.6%" }}>
|
||||
{sigImagePath && sigImageDataUrl ? (
|
||||
<img
|
||||
src={sigImageDataUrl}
|
||||
alt="Signature"
|
||||
className="mb-1 max-h-[50px] object-contain"
|
||||
/>
|
||||
) : sigTyped.trim() ? (
|
||||
<div
|
||||
className="mb-1"
|
||||
style={{ fontFamily: '"Lucida Handwriting", "Brush Script MT", cursive', fontSize: 18 }}
|
||||
>
|
||||
{sigTyped}
|
||||
</div>
|
||||
) : (
|
||||
<div className="h-10" />
|
||||
)}
|
||||
<div>_______________________________</div>
|
||||
<pre className="whitespace-pre-wrap font-[inherit] text-[12px] leading-snug mt-1">
|
||||
{sigBlock || <span className="text-muted-foreground italic">(no block text)</span>}
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
) : null}
|
||||
|
||||
Reference in New Issue
Block a user