Constrain archived signature display height
This commit is contained in:
@@ -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',
|
||||||
|
|||||||
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user