Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Fix info style #2144

Benjamin King009b34869125
diff --git a/web/css/vectorMeta.css b/web/css/vectorMeta.css
index 641584504..89335c1e4 100644
--- a/web/css/vectorMeta.css
+++ b/web/css/vectorMeta.css
@@ -38,7 +38,14 @@
border: 1px solid #fff;
border-bottom: none;
}
+.vector-modal .vector-feature-name-cell {
+ margin-left: 20px;
+}
+.vector-info-tooltip-case {
+ position: relative;
+}
.vector-modal .vector-info-icon {
+ position: absolute;
font-size: 8px;
border: 1px solid #666666;
width: 13px;
@@ -46,7 +53,8 @@
text-align: center;
border-radius: 50%;
padding-top: 1px;
- margin-left: 8px;
+ margin-right: 10px;
+ display:inline-block;
color: #666666;
}
diff --git a/web/js/components/vector-metadata/tooltip.js b/web/js/components/vector-metadata/tooltip.js
index 460162fd8..1fa01a1e8 100644
--- a/web/js/components/vector-metadata/tooltip.js
+++ b/web/js/components/vector-metadata/tooltip.js
@@ -22,9 +22,9 @@ export default class VectorMetaTooltip extends React.Component {
render() {
const { id, index, description } = this.props;
const elId = util.cleanId(String('tooltip' + id + index));
- console.log(elId)
+
return (
- <Fragment key={elId}>
+ <div className='vector-info-tooltip-case' key={elId}>
<span href="#" id={elId}><i className="fa fa-info vector-info-icon"></i></span>
<Tooltip
dangerouslySetInnerHTML={{ __html: description }}
@@ -36,7 +36,7 @@ export default class VectorMetaTooltip extends React.Component {
fade={false}
>
</Tooltip>
- </Fragment>
+ </div>
);
}
}