diff --git a/src/styles/app.scss b/src/styles/app.scss index d9802ec..2ca3419 100644 --- a/src/styles/app.scss +++ b/src/styles/app.scss @@ -45,7 +45,7 @@ body, } .default-main { - margin: var(--ba-main-space) var(--ba-main-space) 60px var(--ba-main-space); + margin: var(--ba-main-space) var(--ba-main-space) 0px var(--ba-main-space); } .zoom-handle { position: absolute; diff --git a/src/styles/element.scss b/src/styles/element.scss index 15473d0..af97ba1 100644 --- a/src/styles/element.scss +++ b/src/styles/element.scss @@ -41,6 +41,7 @@ /* dialog滚动条-s */ .el-overlay-dialog, +.el-tabs__content, .ba-scroll-style { scrollbar-width: none; &::-webkit-scrollbar { diff --git a/src/views/dashboard/components/echart.vue b/src/views/dashboard/components/echart.vue index a763515..fadd6c5 100644 --- a/src/views/dashboard/components/echart.vue +++ b/src/views/dashboard/components/echart.vue @@ -16,7 +16,7 @@ const scatterOptions = reactive({ title: { text: '散点图', // top: 'center', - left: 'center' + left: 'center' }, toolbox: { diff --git a/src/views/dashboard/index.vue b/src/views/dashboard/index.vue index e0085e2..896b3c2 100644 --- a/src/views/dashboard/index.vue +++ b/src/views/dashboard/index.vue @@ -18,4 +18,9 @@ import Echart from '@/views/dashboard/components/echart.vue' width: 100%; height: 500px; } +::v-deep(.el-tabs__content) { + height: calc(100vh - 110px); + overflow-y: auto; +} +