(size) set a small size

This commit is contained in:
Julien Calixte
2023-07-08 17:50:00 +02:00
parent f6b67f9fdf
commit 9c207619b1
2 changed files with 9 additions and 16 deletions

View File

@@ -9,3 +9,12 @@ const display = params.get("display")
if (display === "pure") {
document.querySelector("header")?.remove()
}
const size = params.get("size")
if (size === "small") {
const body = document.querySelector("body")
if (body) {
body.style.fontSize = "15px"
}
}