Skip to content
代码片段 群组 项目
提交 e752e995 编辑于 作者: Stanislav Lashmanov's avatar Stanislav Lashmanov
浏览文件

Fix Vite Leaflet CSS import

上级 50fa70ea
No related branches found
No related tags found
无相关合并请求
diff --git a/node_modules/leaflet/dist/leaflet.css b/node_modules/leaflet/dist/leaflet.css
index 2961b76..50d36dc 100644
--- a/node_modules/leaflet/dist/leaflet.css
+++ b/node_modules/leaflet/dist/leaflet.css
@@ -356,12 +356,12 @@ svg.leaflet-image-layer.leaflet-interactive path {
border-radius: 5px;
}
.leaflet-control-layers-toggle {
- background-image: url(images/layers.png);
+ background-image: url(./images/layers.png);
width: 36px;
height: 36px;
}
.leaflet-retina .leaflet-control-layers-toggle {
- background-image: url(images/layers-2x.png);
+ background-image: url(./images/layers-2x.png);
background-size: 26px 26px;
}
.leaflet-touch .leaflet-control-layers-toggle {
@@ -404,7 +404,7 @@ svg.leaflet-image-layer.leaflet-interactive path {
/* Default icon URLs */
.leaflet-default-icon-path { /* used only in path-guessing heuristic, see L.Icon.Default */
- background-image: url(images/marker-icon.png);
+ background-image: url(./images/marker-icon.png);
}
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册