mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-05-06 02:26:06 +08:00
fix(editor): 在小屏幕下画布的标尺显示不全
This commit is contained in:
parent
9d46305d2a
commit
1c8829fac9
@ -55,7 +55,7 @@ export default defineComponent({
|
|||||||
style: computed(
|
style: computed(
|
||||||
() => `
|
() => `
|
||||||
width: ${props.width}px;
|
width: ${props.width}px;
|
||||||
height: ${props.height}px;
|
height: ${(props.height || 0) - 40}px;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
margin-top: 30px;
|
margin-top: 30px;
|
||||||
`,
|
`,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user