diff --git a/frontend/src/components/widget/DeWidget/DeTabs.vue b/frontend/src/components/widget/DeWidget/DeTabs.vue index 26ffb9a7b2..18fa38d54a 100644 --- a/frontend/src/components/widget/DeWidget/DeTabs.vue +++ b/frontend/src/components/widget/DeWidget/DeTabs.vue @@ -34,7 +34,7 @@ -
+
@@ -75,7 +75,7 @@ center >
- +
@@ -161,6 +161,10 @@ export default { }, sureViewSelector() { const nodes = this.$refs.viewSelect.getCurrentSelected() + if (!nodes || nodes.length === 0) { + this.viewDialogVisible = false + return + } const node = nodes[0] let component @@ -250,23 +254,8 @@ export default { } .de-tabs { height: 100%; - >>>div.el-tabs__content { - height: calc(100% - 55px); - .el-tab-pane { - height: 100%; - } - } - } - /* .de-tab-i { - transition: 0.1s; - opacity: 0; - transform: translateY(100%); } - .de-tab-drop:hover .de-tab-i { - opacity: 1; - transform: translateY(0); - } */ .de-tab-content { width: 100%; height: 100%; diff --git a/frontend/src/styles/index.scss b/frontend/src/styles/index.scss index 36e3cc149a..486ee5df21 100644 --- a/frontend/src/styles/index.scss +++ b/frontend/src/styles/index.scss @@ -43,9 +43,6 @@ html { box-sizing: border-box; } -#app { - //height: $contentHeight; -} *, *:before, @@ -151,6 +148,18 @@ div:focus { } } +.de-tabs { + .el-tabs__header { + margin: 0 0 0 0 !important; + } + .el-tabs__content { + height: calc(100% - 55px) !important; + .el-tab-pane { + height: 100% !important; + } + } +} + .de-search-header { .el-tabs__header { display: none !important;; @@ -418,6 +427,10 @@ div:focus { border: none !important; } +.blackTheme .el-picker-panel__footer { + background-color: var(--MainBG) !important; +} + .el-pagination { button:disabled { @@ -602,6 +615,10 @@ div:focus { background-color: #000000 ; } +.blackTheme .CodeMirror-line { + background-color: #000000 !important; +} + .blackTheme .el-radio-button__inner { background-color: var(--TableBG); color: var(--TableColor); diff --git a/frontend/src/views/chart/view/ChartEdit.vue b/frontend/src/views/chart/view/ChartEdit.vue index 4bb044ae7a..1f74048d75 100644 --- a/frontend/src/views/chart/view/ChartEdit.vue +++ b/frontend/src/views/chart/view/ChartEdit.vue @@ -613,7 +613,7 @@ :fullscreen="true" > -