More snowflakes!

This commit is contained in:
2021-12-31 23:50:39 +03:00
parent fc593405bb
commit 773300d3b4
3 changed files with 3 additions and 16 deletions

View File

@@ -1,13 +0,0 @@
function alignHeadersByHeight(table) {
var maxHeight = 0;
table.querySelectorAll('h1').forEach(
element => maxHeight = Math.max(maxHeight, element.clientHeight)
)
table.querySelectorAll('h1').forEach(
element => element.style.height = maxHeight + 'px'
)
console.log(maxHeight);
}
var table = document.getElementById("pbic");
alignHeadersByHeight(table);