From c1057b466ab4b22da0c76de2e1601ea8ca1b0aca Mon Sep 17 00:00:00 2001 From: qianlishi <1432731663@qq.com> Date: Wed, 29 Sep 2021 13:48:37 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/report/bigscreen/designer/index.vue | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/report-ui/src/views/report/bigscreen/designer/index.vue b/report-ui/src/views/report/bigscreen/designer/index.vue index 049f7060..55bbca5c 100644 --- a/report-ui/src/views/report/bigscreen/designer/index.vue +++ b/report-ui/src/views/report/bigscreen/designer/index.vue @@ -1157,13 +1157,13 @@ li { clear: both; } -.nav li { +.nav > li { width: 55px; - text-align: center; + text-align: left; position: relative; } -.nav li a { +.nav > li a { float: left; padding: 12px 30px; color: #999; @@ -1171,16 +1171,15 @@ li { text-decoration: none; } -.nav li:hover { +.nav > li:hover { color: #788994; } -.nav li ul { +.nav > li ul { visibility: hidden; position: absolute; z-index: 1000; list-style: none; - top: 38px; left: 0; padding: 0; background-color: rgb(36, 42, 48); @@ -1190,7 +1189,7 @@ li { transition: all 0.2s ease-in-out; } -.nav li:hover > ul { +.nav > li:hover > ul { opacity: 1; visibility: visible; margin: 0; @@ -1245,6 +1244,10 @@ li { float: left; } +.nav .item { + padding: 5px; +} + /deep/ .vue-ruler-h { opacity: 0.3; }