Skip to content

Commit

Permalink
cartogram stroke to white
Browse files Browse the repository at this point in the history
  • Loading branch information
joewdavies committed Feb 2, 2025
1 parent e04890b commit f6b2cdc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
7 changes: 1 addition & 6 deletions src/core/map-template.js
Original file line number Diff line number Diff line change
Expand Up @@ -590,12 +590,7 @@ export const mapTemplate = function (config, withCenterPoints) {
})
.each(function (d) {
// Append rect
select(this)
.append('rect')
.attr('class', 'em-grid-rect')
.attr('width', cellSize)
.attr('height', cellSize)
.style('stroke', 'lightgrey')
select(this).append('rect').attr('class', 'em-grid-rect').attr('width', cellSize).attr('height', cellSize)

// Append text
select(this)
Expand Down
4 changes: 4 additions & 0 deletions src/css/map.css
Original file line number Diff line number Diff line change
Expand Up @@ -139,3 +139,7 @@ a text {
fill: white;
pointer-events: none;
}

.em-grid-rect {
stroke: white;
}

0 comments on commit f6b2cdc

Please sign in to comment.