fix: 优化simulator样式

This commit is contained in:
wanying.jwy 2020-09-07 10:07:27 +08:00
parent ce9bc12ca3
commit 25ba893c15
2 changed files with 6 additions and 5 deletions

View File

@ -30,15 +30,16 @@
}
&-device-iphonex { // 增加默认的小程序的壳
left: calc(~"50% - 189px");
top: calc(~"50% - 406px");
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
width: 378px;
max-height: 812px;
height: 812px;
max-height: calc(100vh - 50px);
background: url(https://img.alicdn.com/tfs/TB1b4DHilFR4u4jSZFPXXanzFXa-750-1574.png) no-repeat top;
background-size: 378px 812px;
border-radius: 44px;
box-shadow: rgba(0, 0, 0, 0.1) 0px 36px 42px;
transform: scale(1);
.@{scope}-canvas-viewport {
width: auto;
top: 50px;

View File

@ -55,5 +55,5 @@
"ts-node/register"
]
},
"homepage": "https://unpkg.alibaba-inc.com/@ali/lowcode-rax-simulator-renderer@0.8.44/build/index.html"
"homepage": "https://unpkg.alibaba-inc.com/@ali/lowcode-rax-simulator-renderer@0.8.45/build/index.html"
}