Prechádzať zdrojové kódy

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

奔跑的面条 2 rokov pred
rodič
commit
7599f28d7a

+ 1 - 5
src/views/chart/ContentEdit/components/EditRule/index.vue

@@ -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% */