From f6b2cdcbccf55bb0912ad864a521c7cd850b2fb8 Mon Sep 17 00:00:00 2001 From: joewdavies Date: Sun, 2 Feb 2025 20:59:52 +0100 Subject: [PATCH] cartogram stroke to white --- src/core/map-template.js | 7 +------ src/css/map.css | 4 ++++ 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/src/core/map-template.js b/src/core/map-template.js index 337ad59a..66a46153 100644 --- a/src/core/map-template.js +++ b/src/core/map-template.js @@ -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) diff --git a/src/css/map.css b/src/css/map.css index 95ea5279..bb3de5c6 100644 --- a/src/css/map.css +++ b/src/css/map.css @@ -139,3 +139,7 @@ a text { fill: white; pointer-events: none; } + +.em-grid-rect { + stroke: white; +}