Styling changes mostly done

This commit is contained in:
2025-04-12 11:55:40 -04:00
parent 977cd1aa62
commit 6aedbbc942
2 changed files with 15 additions and 6 deletions

View File

@@ -215,7 +215,7 @@ function stateOrDistrictOrLanguage(d) {
// const mapHeight = document.getElementById("indiaMap").getAttribute("height")
const mapWidth = /*window.innerWidth - */document.querySelector("#svgContainer").offsetWidth * 0.85;
// const mapHeight = document.querySelector("#svgContainer").offsetHeight;
const mapHeight = (window.innerHeight - document.querySelector("#svgContainer").getBoundingClientRect().top) * 0.92;
const mapHeight = (window.innerHeight - document.querySelector("#svgContainer").getBoundingClientRect().top);
const svg = d3.select("#svgContainer")
.append('svg')