Skip to content

Commit b2ebd12

Browse files
authored
feat: button styling improvements (#374)
1 parent ffe9bc3 commit b2ebd12

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

assets/css/leaflet.css

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,16 @@
2020

2121
/* magnifying glass */
2222
.leaflet-control-geosearch a.leaflet-bar-part:before {
23-
top: 15px;
24-
left: 13px;
23+
top: 17px;
24+
left: 15px;
2525
width: 6px;
2626
border-top: 2px solid #555;
2727
transform: rotateZ(45deg);
2828
}
2929

3030
.leaflet-control-geosearch a.leaflet-bar-part:after {
31-
top: 8px;
32-
left: 8px;
31+
top: 10px;
32+
left: 10px;
3333
height: 8px;
3434
width: 8px;
3535
border-radius: 50%;
@@ -74,7 +74,7 @@
7474
display: none;
7575
position: absolute;
7676
top: 0;
77-
left: 36px;
77+
left: 30px;
7878
border-radius: 0 4px 4px 0;
7979
background-color: #fff;
8080
background-clip: padding-box;
@@ -94,7 +94,7 @@
9494

9595
.leaflet-geosearch-button.active .leaflet-bar-part {
9696
border-radius: 4px 0 0 4px;
97-
width: 36px;
97+
width: 30px;
9898
}
9999

100100
.leaflet-geosearch-button form {

0 commit comments

Comments
 (0)