web
This commit is contained in:
parent
93a8de72b6
commit
01c60e00fa
9 changed files with 1 additions and 1 deletions
10
rtfd/public/web/script/debug.js
Normal file
10
rtfd/public/web/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