js/debug
This commit is contained in:
parent
469989740b
commit
69daecd39b
4 changed files with 36 additions and 0 deletions
10
rtfd/public/html/script/debug.js
Normal file
10
rtfd/public/html/script/debug.js
Normal file
|
@ -0,0 +1,10 @@
|
|||
const body = document.body
|
||||
|
||||
const style = window.getComputedStyle(body)
|
||||
|
||||
const font_size = style.fontSize
|
||||
|
||||
|
||||
const debug = document.getElementById("debug")
|
||||
|
||||
debug.innerHTML = `Font size = ${font_size}`
|
Loading…
Add table
Add a link
Reference in a new issue