Interactive interface for browsing global, full-resolution satellite imagery
Adjusted spacing CSS for layer-buttons. Added condition to use 'hidden' class when showButtons is false
Jason Hurleyf0dd85663515
diff --git a/web/js/containers/sidebar/layer-row.js b/web/js/containers/sidebar/layer-row.jsindex 45e8e97f6..87e658a19 100644--- a/web/js/containers/sidebar/layer-row.js+++ b/web/js/containers/sidebar/layer-row.js@@ -653,7 +653,7 @@ function LayerRow (props) {{...attributes}{...listeners}>- <div className="layer-buttons">+ <div className={showButtons ? 'layer-buttons' : 'layer-buttons hidden'}>{showButtons && renderControls()}</div><h4 title={names.title}>{names.title}</h4>diff --git a/web/scss/features/embed.scss b/web/scss/features/embed.scssindex 70b003a5d..b0c63f0ec 100644--- a/web/scss/features/embed.scss+++ b/web/scss/features/embed.scss@@ -125,7 +125,7 @@}& .layer-buttons {- background: #ccc;+ // background: #ccc;width: 20px;& .wv-layers-options {diff --git a/web/scss/features/layers.scss b/web/scss/features/layers.scssindex 2d8c8a010..47b3e20c6 100644--- a/web/scss/features/layers.scss+++ b/web/scss/features/layers.scss@@ -1099,7 +1099,7 @@ a[rel="noreferrer"]:hover {(max-width: variables.$mobile-max-width) {.instrument-collection {h6 {- margin-right: 20px;+ margin-right: 2px;}}}diff --git a/web/scss/features/sidebar-panel.scss b/web/scss/features/sidebar-panel.scssindex 11d52cce0..b3eaaf8e9 100644--- a/web/scss/features/sidebar-panel.scss+++ b/web/scss/features/sidebar-panel.scss@@ -598,7 +598,7 @@ li.item.productsitem.inmotion,width: 100px;& .layer-group-more-options {- top: 10px;+ top: 0;position: absolute;right: 0;}