Interactive interface for browsing global, full-resolution satellite imagery
Adjust tour complete modal to open links in new tab and adjust read more li spacing
ZachTRice703e680ade7d
diff --git a/web/css/tour.css b/web/css/tour.cssindex 473247295..b704282e7 100644--- a/web/css/tour.css+++ b/web/css/tour.css@@ -622,13 +622,15 @@.tour-complete .modal-body ul {font-size: 16px;line-height: 24px;+ margin-top: -8px;+ margin-left: 8px;margin-bottom: 16px;padding-left: 16px;}.tour-complete .modal-body ul li {font-size: 16px;- line-height: 24px;+ line-height: 20px;margin-bottom: 4px;}diff --git a/web/js/components/tour/modal-tour-complete.js b/web/js/components/tour/modal-tour-complete.jsindex 992d49376..91b367c74 100644--- a/web/js/components/tour/modal-tour-complete.js+++ b/web/js/components/tour/modal-tour-complete.js@@ -12,7 +12,7 @@ class ModalComplete extends React.Component {<p>Read more about this story at the links below:</p><ul>{readMoreLinks.map((linkId, i) =>- <li key={i} index={i}><a href={linkId.link}>{linkId.title}</a></li>+ <li key={i} index={i}><a href={linkId.link} target="_blank">{linkId.title}</a></li>)}</ul></React.Fragment>@@ -23,7 +23,7 @@ class ModalComplete extends React.Component {<Modal isOpen={this.props.modalComplete} toggle={this.props.toggleModalComplete} wrapClassName='tour tour-complete' className={this.props.className} backdrop={true}><ModalHeader toggle={this.props.toggleModalComplete} charCode="">Story Complete</ModalHeader><ModalBody>- <p>You have now completed a story in Worldview. To view more stories, click the "More Stories" button below or, <a href="#">explore more events</a> within the app. Click the "Exit Tutorial" button or close this window to start using Worldview on your own.</p>+ <p>You have now completed a story in Worldview. To view more stories, click the "More Stories" button below to explore more events within the app. Click the "Exit Tutorial" button or close this window to start using Worldview on your own.</p>{list}</ModalBody><ModalFooter>