Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

conditional padding based on close button presence

Jason Kent8b8f11924ae9
diff --git a/web/js/components/util/alert.js b/web/js/components/util/alert.js
index 05b57cc05..606f221c5 100644
--- a/web/js/components/util/alert.js
+++ b/web/js/components/util/alert.js
@@ -52,6 +52,7 @@ export default class AlertUtil extends React.Component {
className="alert-content"
title={title}
onClick={onClick}
+ style={{ paddingRight: !onDismiss ? 8 : 5 }}
>
<FontAwesomeIcon
icon={icon || 'exclamation-triangle'}