fix: 处理标尺展示不全的问题

This commit is contained in:
奔跑的面条 2022-12-16 22:47:55 +08:00
parent 012b64f00c
commit 7599f28d7a

View File

@ -151,7 +151,7 @@ const canvasBox = () => {
const layoutDom = document.getElementById('go-chart-edit-layout')
if (layoutDom) {
return {
height: layoutDom.clientHeight - 40 - 44,
height: layoutDom.clientHeight,
width: layoutDom.clientWidth
}
}
@ -220,10 +220,6 @@ window.onKeySpacePressHold = (isHold: boolean) => {
top: 0;
left: 0;
}
/* 适配底部的工具栏不遮盖 */
#mb-ruler .v-container {
height: calc(100% - 65px) !important;
}
/* 横线 */
#mb-ruler .v-container .lines .line {
/* 最大缩放 200% */