Skip to content

Open Infrastructure Map, a view of infrastructure data in OpenStreetMap

Make attribution smaller

Russ Garrett51ac2f7399eb
diff --git a/src/index.css b/src/index.css
index 7b29752..b046be0 100644
--- a/src/index.css
+++ b/src/index.css
@@ -1,4 +1,4 @@
-@import "~mapbox-gl/dist/mapbox-gl.css";
+@import '~mapbox-gl/dist/mapbox-gl.css';
html {
width: 100%;
@@ -7,7 +7,9 @@ html {
color: #333;
}
-body, #container, #map {
+body,
+#container,
+#map {
width: 100%;
height: 100%;
margin: 0px;
@@ -42,31 +44,37 @@ a {
}
.infobox {
- display: block;
- position: absolute;
- bottom: 40px;
- min-width: 60px;
- max-width: 300px;
- left: 5%;
- background-color: white;
- padding: 5px;
- border: 1px solid #999;
- border-radius: 4px;
+ display: block;
+ position: absolute;
+ bottom: 40px;
+ min-width: 60px;
+ max-width: 300px;
+ left: 5%;
+ background-color: white;
+ padding: 5px;
+ border: 1px solid #999;
+ border-radius: 4px;
}
.infobox-header {
- font-weight: bold;
- padding-bottom: 5px;
- border-bottom: 1px solid #bbb;
- margin-bottom: 4px;
+ font-weight: bold;
+ padding-bottom: 5px;
+ border-bottom: 1px solid #bbb;
+ margin-bottom: 4px;
}
.infobox-header a {
- cursor: pointer;
- float: right;
- margin-top: -3px;
+ cursor: pointer;
+ float: right;
+ margin-top: -3px;
}
.infobox-content {
- clear: both;
+ clear: both;
+}
+
+.mapboxgl-ctrl-attrib {
+ font-size: 10px;
+ line-height: 14px;
+ border-radius: 4px 0px 0px 0px;
}