Constrain archived signature display height

This commit is contained in:
Frudrax Cheng
2026-05-28 10:48:36 +08:00
parent 7747995b3f
commit 78cec2c65d
2 changed files with 5 additions and 0 deletions
+3
View File
@@ -337,7 +337,10 @@ function AftersalesDetailPage() {
alt="客户确认签名" alt="客户确认签名"
style={{ style={{
maxWidth: 480, maxWidth: 480,
maxHeight: 220,
width: '100%', width: '100%',
height: 'auto',
objectFit: 'contain',
border: '1px solid #f0f0f0', border: '1px solid #f0f0f0',
borderRadius: 6, borderRadius: 6,
background: '#fff', background: '#fff',
+2
View File
@@ -120,10 +120,12 @@
.aftersales-signature-archived-img { .aftersales-signature-archived-img {
max-width: 100%; max-width: 100%;
max-height: 220px;
margin-top: 8px; margin-top: 8px;
border: 1px solid #e5e7eb; border: 1px solid #e5e7eb;
border-radius: 8px; border-radius: 8px;
background: #ffffff; background: #ffffff;
object-fit: contain;
} }
.aftersales-actions { .aftersales-actions {