Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

use first-of-type selector to remove top margin from child element to prevent cutting off text

Jason Kent19289e6f5ad9
diff --git a/web/css/layers.css b/web/css/layers.css
index 201d6f9fc..7fe0e0b78 100644
--- a/web/css/layers.css
+++ b/web/css/layers.css
@@ -166,7 +166,6 @@
.layers-all {
height: 100%;
- margin-top: -5px;
}
.layers-all .layers-all-layer {
@@ -182,6 +181,9 @@
padding-left: 1.2em;
line-height: 0;
}
+.layers-all .layers-all-layer:first-of-type {
+ margin-top: 0;
+}
.layers-all .layers-all-layer .layers-all-layer-icon {
position: absolute;