Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

adjust colorbar width fit with box

ibamibrhme0a45abf892f
diff --git a/web/js/components/sidebar/paletteLegend.js b/web/js/components/sidebar/paletteLegend.js
index 78e6dfc67..9a2301add 100644
--- a/web/js/components/sidebar/paletteLegend.js
+++ b/web/js/components/sidebar/paletteLegend.js
@@ -275,7 +275,6 @@ class PaletteLegend extends React.Component {
id={`${layer.id}-${legend.id}${index}colorbar`}
width={width}
height={24}
- style={{ width }}
ref={this[`canvas_${index}`]}
onMouseEnter={!isMobile ? this.onMouseEnter.bind(this) : null}
onMouseLeave={!isMobile ? this.hideValue.bind(this) : null}