fix: 修复使用模板新建预览时,部分屏幕尺寸展示不全问题

This commit is contained in:
王嘉豪
2026-03-02 14:25:10 +08:00
committed by GitHub
parent dd2ba9ab12
commit ae56da5f25

View File

@@ -770,12 +770,17 @@ defineExpose({
.img-main-create {
display: inherit;
justify-content: center;
width: 100%;
background: #0f1114;
overflow-x: auto;
overflow-y: hidden;
width: 100%;
height: 100% !important;
}
.img-main-create img {
width: 100%;
height: 100%;
object-fit: contain; /* 保持图片比例,不裁剪 */
}
.custom-market-tree {