Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Fixed tall class addition (#5376)

christof-wittreich364d3e92d940
diff --git a/web/js/containers/share.js b/web/js/containers/share.js
index e2ea7d776..8f88a57f7 100644
--- a/web/js/containers/share.js
+++ b/web/js/containers/share.js
@@ -335,7 +335,7 @@ class ShareLinkContainer extends Component {
} = this.state;
return (
- <div className={`share-body${activeTab === 'embed' ? '-tall' : ''}`}>
+ <div className={`share-body${activeTab === 'embed' ? ' tall' : ''}`}>
<ShareToolTips
activeTab={activeTab}
tooltipErrorTime={tooltipErrorTime}
diff --git a/web/scss/features/share.scss b/web/scss/features/share.scss
index 5d675f9cc..9658ef460 100644
--- a/web/scss/features/share.scss
+++ b/web/scss/features/share.scss
@@ -1,9 +1,9 @@
.share-body {
height: 108px;
-}
-.share-body-tall {
- height: 148px;
+ &.tall {
+ height: 148px;
+ }
}
.share-nav-container {