Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Changes made on PR feedback.

Stephan Wlodarczyk7369791b5305
diff --git a/web/js/components/about/about-page.js b/web/js/components/about/about-page.js
index f814a0003..acf4eb867 100644
--- a/web/js/components/about/about-page.js
+++ b/web/js/components/about/about-page.js
@@ -5,7 +5,7 @@ export default function AboutPage() {
return (
<Scrollbar style={{ height: 'calc(100vh - 200px)' }}>
- <div id="page" className="wv-document about-page">
+ <div id="page" className="wv-document">
<div className="right">
<div className="caption">
Version @BUILD_VERSION@
@@ -34,7 +34,7 @@ export default function AboutPage() {
</p>
<div className="right">
- <a href="https://earthdata.nasa.gov/gibs" className="gibs-logo" target="_blank" rel="noopener noreferrer" />
+ <a href="https://earthdata.nasa.gov/gibs" className="gibs-logo" target="_blank" rel="noopener noreferrer"><img src="../../../pages/images/gibs.png" /></a>
<div className="caption gibs-caption">Powered by GIBS</div>
</div>
diff --git a/web/js/containers/info.js b/web/js/containers/info.js
index cc6d55b8c..9e3ab74ef 100644
--- a/web/js/containers/info.js
+++ b/web/js/containers/info.js
@@ -194,6 +194,7 @@ const mapDispatchToProps = (dispatch) => ({
openCustomContent('ABOUT_MODAL', {
headerText: 'About',
bodyComponent: AboutPage,
+ wrapClassName: 'about-page',
}),
);
},
diff --git a/web/pages/css/document.css b/web/pages/css/document.css
index 836607e98..6480b6865 100644
--- a/web/pages/css/document.css
+++ b/web/pages/css/document.css
@@ -85,13 +85,6 @@
font-size: 12px;
}
-.gibs-logo {
- background-image: url("../images/gibs.png");
- width: 64px;
- height: 64px;
- display: block;
-}
-
.wv-document .caption {
font-size: 12px;
line-height: 18px;
@@ -106,24 +99,23 @@
/* Override default modal CSS */
-#about_modal .modal-header {
+.about-page .modal-header {
color: #fff;
background-color: #00457b;
border-radius: 0;
padding: 8px 12px 7px;
}
-#about_modal .modal-title {
+.about-page .modal-title {
font-size: 24px;
line-height: 28px;
font-weight: 300;
}
-#about_modal.modal-dialog .close {
+.about-page .modal-dialog .close {
opacity: 1;
}
-
-#about_modal.modal-dialog .close span {
+.about-page .modal-dialog .close span {
text-indent: 100%;
white-space: nowrap;
overflow: hidden;
@@ -135,5 +127,13 @@
background-repeat: no-repeat;
}
+.about-page .modal-body {
+ padding: 0;
+}
+
+.about-page .wv-document {
+ padding: 10px 15px 0 10px;
+}
+