fix(editor): 在小屏幕下画布的标尺显示不全

This commit is contained in:
roymondchen 2022-04-20 16:27:28 +08:00 committed by jia000
parent 9d46305d2a
commit 1c8829fac9

View File

@ -55,7 +55,7 @@ export default defineComponent({
style: computed(
() => `
width: ${props.width}px;
height: ${props.height}px;
height: ${(props.height || 0) - 40}px;
position: absolute;
margin-top: 30px;
`,