Interactive interface for browsing global, full-resolution satellite imagery
adjust anim widget position
Ed Plato7baf5d0a2515
diff --git a/web/css/embed.css b/web/css/embed.cssindex 71e35b81f..231a80e23 100644--- a/web/css/embed.css+++ b/web/css/embed.css@@ -140,4 +140,9 @@.wv-animation-widget-wrapper.minimized {bottom: 64px;}+ @media only screen and (max-width: 350px) {+ .wv-animation-widget-wrapper.minimized {+ left: 110px;+ }+ }}diff --git a/web/js/containers/animation-widget.js b/web/js/containers/animation-widget.jsindex 8b344d9ce..3ec2ef0b0 100644--- a/web/js/containers/animation-widget.js+++ b/web/js/containers/animation-widget.js@@ -130,7 +130,13 @@ class AnimationWidget extends React.Component {componentDidMount() {const { isEmbedModeActive } = this.props;if (isEmbedModeActive) {- this.setState({ collapsed: true });+ this.setState({+ collapsed: true,+ widgetPosition: {+ x: 10,+ y: 0,+ },+ });}}