please kill me

This commit is contained in:
2024-04-28 09:40:13 -07:00
parent 98f57d50bd
commit aa31bb8df8
8 changed files with 264 additions and 4 deletions
+8
View File
@@ -0,0 +1,8 @@
document.addEventListener('DOMContentLoaded', (e) => {
const htmlToAdd = localStorage.getItem('roomoutline');
document.body.innerHTML = htmlToAdd;
const bc = document.querySelector('.scaledup');
const dif = window.innerWidth - bc.children[0].getBoundingClientRect().right;
bc.style.left = `${dif / 2}px`;
});