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

This commit is contained in:
奔跑的面条 2022-12-16 22:47:55 +08:00
parent 405e884e70
commit 57193beeab

View File

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