Interactive interface for browsing global, full-resolution satellite imagery
revise read more text insertion, remove extra styling and dom els
Edward Platoc05246aabde5
diff --git a/web/css/alert.css b/web/css/alert.cssindex f136f3c68..55513d57d 100644--- a/web/css/alert.css+++ b/web/css/alert.css@@ -36,19 +36,5 @@display: flex;align-items: center;min-height: 40px;-}-.wv-alert-message {- display: flex;- flex-wrap: wrap;- justify-content: space-between;-}-.wv-alert-read-more {- min-width: 100px;- text-align: right;-}-@media screen and (max-device-width: 420px) {- .wv-alert-read-more {- min-width: 0;- text-align: left;- }+ height: 20px; /* IE11 vertical align fix */}diff --git a/web/css/events.css b/web/css/events.cssindex ab387c3b4..b520ab871 100644--- a/web/css/events.css+++ b/web/css/events.css@@ -349,7 +349,7 @@}}-@media only screen and (max-device-width: 420px) {+@media only screen and (max-width: 420px) {.wv-alert,.notify-alert {left: 10px !important;diff --git a/web/js/components/util/alert.js b/web/js/components/util/alert.jsindex 0da4a0de2..94edfdd6d 100644--- a/web/js/components/util/alert.js+++ b/web/js/components/util/alert.js@@ -50,12 +50,7 @@ export default class AlertComponent extends React.Component {<i className={'wv-alert-icon ' + iconClassName} />)}<div className="wv-alert-message">- <div>- {message}- </div>- {onClick && (- <span className="wv-alert-read-more">Read More...</span>- )}+ {message} {onClick ? ' Read More...' : ''}</div></div>{onDismiss && (