mirror of
https://github.com/frainfreeze/the-monospace-web-pandoc
synced 2025-12-30 02:59:50 -08:00
grid and forms
This commit is contained in:
2
index.js
2
index.js
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user