Skip to content

Commit 6a947d1

Browse files
authored
Include leaflet-specific class in all leafletfix selectors (#859)
1 parent 0f8e831 commit 6a947d1

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

inst/htmlwidgets/lib/leafletfix/leafletfix.css

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,25 +5,25 @@ img.leaflet-tile {
55
border-radius: 0;
66
border: none;
77
}
8-
.info {
8+
.leaflet .info {
99
padding: 6px 8px;
1010
font: 14px/16px Arial, Helvetica, sans-serif;
1111
background: white;
1212
background: rgba(255,255,255,0.8);
1313
box-shadow: 0 0 15px rgba(0,0,0,0.2);
1414
border-radius: 5px;
1515
}
16-
.legend {
16+
.leaflet .legend {
1717
line-height: 18px;
1818
color: #555;
1919
}
20-
.legend svg text {
20+
.leaflet .legend svg text {
2121
fill: #555;
2222
}
23-
.legend svg line {
23+
.leaflet .legend svg line {
2424
stroke: #555;
2525
}
26-
.legend i {
26+
.leaflet .legend i {
2727
width: 18px;
2828
height: 18px;
2929
margin-right: 4px;

0 commit comments

Comments
 (0)