grid and forms

This commit is contained in:
Oskar Wickström
2024-08-25 16:20:55 +02:00
parent b3fc119ff4
commit ed8837080d
4 changed files with 112 additions and 3 deletions

View File

@@ -52,7 +52,7 @@ function checkOffsets() {
const config = { childList: true, subtree: true };
const callback = () => {
const elements = document.querySelectorAll("body :not(.grid)");
const elements = document.querySelectorAll("body :not(.debug-grid)");
for (const element of elements) {
const offset = element.offsetTop % 10;
if(element.offsetParent == document.body && offset > 0) {