Skip to content

Commit

Permalink
add light grey line to seperate feature property rows
Browse files Browse the repository at this point in the history
  • Loading branch information
nreese committed Aug 25, 2020
1 parent 8efb529 commit 6b1a221
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 2 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
}
}

.mapFeatureTooltip_row {
border-bottom: 1px solid $euiColorLightestShade;
}

.mapFeatureTooltip_actionLinks {
padding: $euiSizeXS;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ export class FeatureProperties extends React.Component {

_renderFilterCell(tooltipProperty) {
if (!this.props.showFilterButtons || !tooltipProperty.isFilterable()) {
return null;
return <td />;
}

const applyFilterButton = (
Expand Down Expand Up @@ -250,7 +250,7 @@ export class FeatureProperties extends React.Component {
const rows = this.state.properties.map((tooltipProperty) => {
const label = tooltipProperty.getPropertyName();
return (
<tr key={label}>
<tr key={label} className="mapFeatureTooltip_row">
<td className="eui-textOverflowWrap mapFeatureTooltip__propertyLabel">{label}</td>
<td
className="eui-textOverflowWrap"
Expand Down

0 comments on commit 6b1a221

Please sign in to comment.