Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

tighten up embed mobile controls positionings

Ed Plato6424c3002228
diff --git a/web/css/embed.css b/web/css/embed.css
index dc17f3ba1..6047d3208 100644
--- a/web/css/embed.css
+++ b/web/css/embed.css
@@ -195,7 +195,7 @@
bottom: 90px;
}
}
- @media only screen and (max-width: 450px) {
+ @media only screen and (max-width: 483px) {
.wv-animation-widget-wrapper.minimized {
bottom: 90px;
left: 10px;
diff --git a/web/js/containers/timeline/timeline.js b/web/js/containers/timeline/timeline.js
index 52e5a363f..3d0292ee8 100644
--- a/web/js/containers/timeline/timeline.js
+++ b/web/js/containers/timeline/timeline.js
@@ -921,13 +921,13 @@ class Timeline extends React.Component {
if (hasSubdailyLayers && screenWidth >= 484) {
mobileLeft = 287;
if (isEmbedModeActive) {
- mobileLeft = 210;
+ mobileLeft = 220;
}
} else if (isScreenWidthLessThan484) {
mobileLeft = isCompareModeActive ? 112 : 10;
mobileBottom = 65;
if (isEmbedModeActive) {
- mobileLeft = isCompareModeActive ? 80 : 10;
+ mobileLeft = isCompareModeActive ? 90 : 10;
mobileBottom = 50;
}
}