From 81e426e19db140e630f45409c1569fe16dbcc33f Mon Sep 17 00:00:00 2001
From: 徐旺旺 <11530253@qq.com>
Date: 星期二, 18 五月 2021 15:25:19 +0800
Subject: [PATCH] 修复点击弹窗bug
---
src/assets/css/map/map-popup.less | 27 ++++++++++++++-------------
1 files changed, 14 insertions(+), 13 deletions(-)
diff --git a/src/assets/css/map/map-popup.less b/src/assets/css/map/map-popup.less
index 3483c5e..a11db7f 100644
--- a/src/assets/css/map/map-popup.less
+++ b/src/assets/css/map/map-popup.less
@@ -6,10 +6,15 @@
background-color: @background-color;
/*background-color: transparent;*/
border: .00521rem solid @color;
- padding: .10417rem;
- -webkit-box-shadow: 0 0 0.03125rem 0 @color;
- box-shadow: 0 0 0.03125rem 0 @color;
- border-radius: 1rem;
+ //-webkit-box-shadow: 0 0 0.03125rem 0 @color;
+ //box-shadow: 0 0 0.03125rem 0 @color;
+ -webkit-box-shadow: 0 0 10px 0 @color;
+ box-shadow: 0 0 .03rem @color;
+ //border-radius: .03rem;
+ padding:6px;
+ border-radius: 10px;
+ .leaflet-popup-content{margin: 0}
+
}
.leaflet-popup-tip-container {
@@ -20,15 +25,11 @@
content: "";
position: absolute;
left: 50%;
- bottom: -.3rem;
- -webkit-transform: translateX(-50%) rotate(
- 45deg
- );
- transform: translateX(-50%) rotate(
- 45deg
- );
- width: .6rem;
- height: .6rem;
+ bottom: -.03rem;
+ -webkit-transform: translateX(-50%) rotate(45deg);
+ transform: translateX(-50%) rotate(45deg);
+ width: .06rem;
+ height: .06rem;
background-color: @background-color;
border-right: .00521rem solid @color;
border-bottom: .00521rem solid @color;
--
Gitblit v1.8.0