Interactive interface for browsing global, full-resolution satellite imagery
WV-3104 GIBS API Link in Embed Tab (#5340)
christof-wittreich1fadfedaf14d
diff --git a/web/js/containers/share.js b/web/js/containers/share.jsindex b401a8276..d170f5d1e 100644--- a/web/js/containers/share.js+++ b/web/js/containers/share.js@@ -305,6 +305,13 @@ class ShareLinkContainer extends Component {{' '}to enable Worldview embedding on your website.</p>+ <p>+ View the+ {' '}+ <a href="https://nasa-gibs.github.io/gibs-api-docs/" target="_blank" rel="noopener noreferrer" id="api-doc-url">API documentation</a>+ {' '}+ to learn how to directly access the imagery via GIBS.+ </p></>)}</TabPane>@@ -342,7 +349,7 @@ class ShareLinkContainer extends Component {} = this.state;return (- <div className="share-body">+ <div className={`share-body${activeTab === 'embed' ? '-tall' : ''}`}><ShareToolTipsactiveTab={activeTab}tooltipErrorTime={tooltipErrorTime}diff --git a/web/scss/features/share.scss b/web/scss/features/share.scssindex 08aa2499a..aeeb0616f 100644--- a/web/scss/features/share.scss+++ b/web/scss/features/share.scss@@ -49,6 +49,10 @@height: 108px;}+.share-body-tall {+ height: 148px;+}+.share-nav-container {.input-group {padding-top: 10px;@@ -61,7 +65,7 @@}.share-tab-embed {- p {+ p:first-of-type {padding: 10px 1px;}}@@ -108,13 +112,13 @@}}-#feedback-url {+#feedback-url, #api-doc-url {cursor: pointer;text-decoration: none;color: #7bf;}-#feedback-url:hover {+#feedback-url:hover, #api-doc-url:hover {text-decoration: underline;color: #7bf !important;}