mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-03-02 23:37:04 +00:00
fix: 优化simulator样式
This commit is contained in:
parent
ce9bc12ca3
commit
25ba893c15
@ -30,15 +30,16 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
&-device-iphonex { // 增加默认的小程序的壳
|
&-device-iphonex { // 增加默认的小程序的壳
|
||||||
left: calc(~"50% - 189px");
|
left: 50%;
|
||||||
top: calc(~"50% - 406px");
|
top: 50%;
|
||||||
|
transform: translate(-50%, -50%);
|
||||||
width: 378px;
|
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: url(https://img.alicdn.com/tfs/TB1b4DHilFR4u4jSZFPXXanzFXa-750-1574.png) no-repeat top;
|
||||||
background-size: 378px 812px;
|
background-size: 378px 812px;
|
||||||
border-radius: 44px;
|
border-radius: 44px;
|
||||||
box-shadow: rgba(0, 0, 0, 0.1) 0px 36px 42px;
|
box-shadow: rgba(0, 0, 0, 0.1) 0px 36px 42px;
|
||||||
transform: scale(1);
|
|
||||||
.@{scope}-canvas-viewport {
|
.@{scope}-canvas-viewport {
|
||||||
width: auto;
|
width: auto;
|
||||||
top: 50px;
|
top: 50px;
|
||||||
|
|||||||
@ -55,5 +55,5 @@
|
|||||||
"ts-node/register"
|
"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"
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user