From 0163b28ce3a2e0186b82e02fd8f98f8d9ee55340 Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Tue, 22 Jun 2021 17:41:48 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.105:10010/r/pyhmap
---
widgets/legends/css/style.css | 25 +++++++++++++++++++++++--
1 files changed, 23 insertions(+), 2 deletions(-)
diff --git a/widgets/legends/css/style.css b/widgets/legends/css/style.css
index 36e2c7d..6048a05 100644
--- a/widgets/legends/css/style.css
+++ b/widgets/legends/css/style.css
@@ -12,12 +12,12 @@
background: rgba(0, 0, 0, 0.5);
color: #fff;
/* border-right : 1px solid rgba(0, 0, 0, 0.3); */
- border-radius: 6px 6px 6px 6px;
+ border-radius: 8px;
/* text-align : center; */
/* cursor : pointer; */
z-index: 15 !important;
box-sizing: border-box;
- padding: 0 6px 0 6px!important;
+ padding: 0 8px 8px 8px!important;
/* overflow: auto; */
transition: all 0.5s;
}
@@ -73,4 +73,25 @@
.jimu-widget-legends .main .m-i-child i:nth-child(1) {
/* margin-right: 30px !important; */
+}
+
+.jimu-widget-legends .layer-legends li {
+ height: 36px;
+ line-height: 36px;
+}
+.jimu-widget-legends .layer-legends li .m-init-h {
+ width: auto;
+ margin-right: 10px !important;
+}
+
+.jimu-widget-legends .layer-legends li .m-init-h img {
+ width: auto;
+ height: 28px;
+ margin: 0 !important;
+}
+
+.jimu-widget-legends .layer-legends li span{
+ overflow: hidden;
+ text-overflow: ellipsis;
+ white-space: nowrap;
}
\ No newline at end of file
--
Gitblit v1.9.3