From 1a2c1d005bf7de2528f73638fb24d31da812aad5 Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Tue, 22 Jun 2021 17:40:13 +0800
Subject: [PATCH] 增加模型
---
widgets/legends/css/style.css | 28 ++++++++++++++++++++++------
1 files changed, 22 insertions(+), 6 deletions(-)
diff --git a/widgets/legends/css/style.css b/widgets/legends/css/style.css
index 44f48ee..36e2c7d 100644
--- a/widgets/legends/css/style.css
+++ b/widgets/legends/css/style.css
@@ -1,11 +1,11 @@
.jimu-widget-legends {
position: absolute !important;
font-size: 14px;
- height: 290px !important;
+ max-height: 330px !important;
line-height: 32px;
- width: 230px !important;
+ width: 300px !important;
right: 60px !important;
- bottom: 40px !important;
+ bottom: 38px !important;
left: auto !important;
top: auto !important;
/* 240px */
@@ -18,11 +18,19 @@
z-index: 15 !important;
box-sizing: border-box;
padding: 0 6px 0 6px!important;
+ /* overflow: auto; */
+ transition: all 0.5s;
}
.jimu-widget-legends .title {
/* margin: 10px 0 7px 0; */
font-size: 18px;
+}
+
+.jimu-widget-legends .main {
+ max-height: 278px !important;
+ overflow: auto;
+ transition: all 0.5s;
}
.jimu-widget-legends .main .m-init {
@@ -35,26 +43,34 @@
font-size: 15px;
}
+.jimu-widget-legends .main .m-i-child {
+ width: 83%;
+ display: block;
+ position: relative;
+ left: 16%;
+}
+
.jimu-widget-legends .main .m-init i {
display: inline-block;
font-style: normal;
}
-.jimu-widget-legends .main .m-init i:nth-child(1) {
+.jimu-widget-legends .main .m-init-h {
display: inline-block;
width: 20px;
/* height: 0.6rem; */
/* border: 1px solid springgreen; */
background-size: 100%;
- margin-right: 15px;
+ margin-right: 15px !important;
}
.jimu-widget-legends .main .m-init img {
width: 24px;
+ margin-right: 5px !important;
/* position: relative;
top: -5.5px; */
}
.jimu-widget-legends .main .m-i-child i:nth-child(1) {
- margin-right: 31px !important;
+ /* margin-right: 30px !important; */
}
\ No newline at end of file
--
Gitblit v1.9.3