From 4aaffc53a8c3cbec42e15fd0b5a5cad545163a16 Mon Sep 17 00:00:00 2001 From: xiaoxian521 <1923740402@qq.com> Date: Tue, 19 Oct 2021 10:07:24 +0800 Subject: [PATCH] style: use :deep() replace >>> --- src/style/sidebar.scss | 14 ++++++++++++++ src/views/flow-chart/index.vue | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/src/style/sidebar.scss b/src/style/sidebar.scss index 53768a0a6..6d25d409f 100644 --- a/src/style/sidebar.scss +++ b/src/style/sidebar.scss @@ -334,6 +334,20 @@ background-color: $menuHover !important; } } + + .el-menu-item, + .el-sub-menu { + i { + width: 20px; + text-align: center; + font-size: 16px; + } + + i.fa { + margin-right: 5px; + font-size: 16px; + } + } } // horizontal菜单折叠 diff --git a/src/views/flow-chart/index.vue b/src/views/flow-chart/index.vue index de97d6470..887738106 100644 --- a/src/views/flow-chart/index.vue +++ b/src/views/flow-chart/index.vue @@ -124,7 +124,7 @@ onMounted(() => { z-index: 3; } -.logic-flow-view >>> .flow-dialog { +:deep(.flow-dialog) { transform: none; left: 0; position: relative;