revert small size, still used for the formation
This commit is contained in:
9
main.ts
9
main.ts
@@ -26,6 +26,15 @@ if (display === 'house-only') {
|
|||||||
document.querySelectorAll('.hud')?.forEach((hud) => hud.remove())
|
document.querySelectorAll('.hud')?.forEach((hud) => hud.remove())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const size = params.get('size')
|
||||||
|
|
||||||
|
if (size === 'small') {
|
||||||
|
const body = document.querySelector('body')
|
||||||
|
if (body) {
|
||||||
|
body.style.fontSize = '15px'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
const focusElements = params.getAll('focus')
|
const focusElements = params.getAll('focus')
|
||||||
|
|
||||||
if (focusElements.length > 0) {
|
if (focusElements.length > 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user