Open shreshthmohan opened 1 year ago
You can simply paste this in the developer console.
const all = document.querySelectorAll('*') all.forEach(el => { if (el.clientWidth + el.getBoundingClientRect().x > window.innerWidth) { console.log(el) } })
url: https://shreshth.dev/blog/check-if-an-element-is-going-out-of-window-width
You can simply paste this in the developer console.