完善空运锁舱与海运报价单单选回填,并增强模板预览与协同字段盖写。
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -1262,6 +1262,43 @@ html {
|
||||
font-size: 10px !important;
|
||||
}
|
||||
|
||||
/**
|
||||
* 报价模板预览截图:强制等比例(宽高同比例缩放),覆盖任何全局 img 拉满规则。
|
||||
* 为何写在 fidelity:Teleport 弹窗挂 body,需非 scoped + !important 兜底。
|
||||
*/
|
||||
.qt-snapshot-wrap {
|
||||
display: flex !important;
|
||||
justify-content: center !important;
|
||||
align-items: flex-start !important;
|
||||
max-height: min(72vh, 760px) !important;
|
||||
min-height: 0 !important;
|
||||
overflow: auto !important;
|
||||
box-sizing: border-box !important;
|
||||
padding: 6px !important;
|
||||
}
|
||||
|
||||
.qt-snapshot-img,
|
||||
.modal-overlay .qt-snapshot-img,
|
||||
.qt-preview-dialog .qt-snapshot-img {
|
||||
display: block !important;
|
||||
width: auto !important;
|
||||
height: auto !important;
|
||||
max-width: 100% !important;
|
||||
max-height: min(70vh, 720px) !important;
|
||||
object-fit: contain !important;
|
||||
object-position: top center !important;
|
||||
flex: 0 0 auto !important;
|
||||
align-self: flex-start !important;
|
||||
}
|
||||
|
||||
.qt-lightbox-img {
|
||||
width: auto !important;
|
||||
height: auto !important;
|
||||
max-width: calc(100vw - 48px) !important;
|
||||
max-height: calc(100vh - 72px) !important;
|
||||
object-fit: contain !important;
|
||||
}
|
||||
|
||||
.qt-upload-title,
|
||||
.qt-file-name {
|
||||
font-size: 11px !important;
|
||||
|
||||
Reference in New Issue
Block a user