From 82c891d645fda05f2af76489282b8c73fec89cd4 Mon Sep 17 00:00:00 2001 From: fit2cloud-chenyw Date: Tue, 12 Oct 2021 14:39:43 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BB=AA=E8=A1=A8=E6=9D=BF=E8=B0=83?= =?UTF-8?q?=E6=95=B4=E9=80=89=E9=A1=B9=E5=8D=A1=E5=A4=A7=E5=B0=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/widget/DeWidget/DeTabs.vue | 17 +---------------- frontend/src/styles/index.scss | 15 ++++++++++++--- 2 files changed, 13 insertions(+), 19 deletions(-) diff --git a/frontend/src/components/widget/DeWidget/DeTabs.vue b/frontend/src/components/widget/DeWidget/DeTabs.vue index 26ffb9a7b2..900c979990 100644 --- a/frontend/src/components/widget/DeWidget/DeTabs.vue +++ b/frontend/src/components/widget/DeWidget/DeTabs.vue @@ -34,7 +34,7 @@ -
+
@@ -250,23 +250,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..57d327ea2b 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;;