Stop attribution control wrapping on layers with attribution text
authorTom Hughes <tom@compton.nu>
Wed, 1 May 2013 09:01:24 +0000 (10:01 +0100)
committerTom Hughes <tom@compton.nu>
Wed, 1 May 2013 09:01:24 +0000 (10:01 +0100)
app/assets/stylesheets/common.css.scss

index fa4faa8badffc5bcb4a003f4e0a9b96cb89a5c5f..b2a23745ed3ec3b879371cc50248778a09398b55 100644 (file)
@@ -529,10 +529,21 @@ table {
 
 /* Rules for Leaflet maps */
 
-.leaflet-control-attribution a.disabled {
-  color: #99c9dc;
-  cursor: default;
-  text-decoration: none;
+.leaflet-control-attribution {
+  a.disabled {
+    color: #99c9dc;
+    cursor: default;
+    text-decoration: none;
+  }
+
+  ul.secondary-actions {
+    float: left;
+    margin-right: 5px;
+
+    &:only-child {
+      margin-right: 0px;
+    }
+  }
 }
 
 .site-index .leaflet-top,