diff --git a/index.css b/index.css index c9e9ecea..1054e52c 100644 --- a/index.css +++ b/index.css @@ -188,7 +188,6 @@ t, .regimentImage { object-fit: contain; - width: 6px !important; } #statesHalo { diff --git a/modules/renderers/draw-military.js b/modules/renderers/draw-military.js index d7b7a1c9..bada7fa0 100644 --- a/modules/renderers/draw-military.js +++ b/modules/renderers/draw-military.js @@ -59,8 +59,8 @@ const drawRegiments = function (regiments, s) { .attr("class", "regimentImage") .attr("x", d => x(d) - h) .attr("y", d => y(d)) - .attr("height", '6') - .attr("width", '6') + .attr("height", h) + .attr("width", h) .text(d => d.image); }; @@ -107,8 +107,8 @@ const drawRegiment = function (reg, stateId) { .attr("class", "regimentImage") .attr("x", x1 - h) .attr("y", y1) - .attr("height", '6') - .attr("width", '6') + .attr("height", h) + .attr("width", h) .text(reg.image); };