prune: remove the small prop as it is now no more useful

This commit is contained in:
Julien Calixte
2025-01-08 00:39:18 +01:00
parent 8c1eec4290
commit d8ac1ad678
2 changed files with 2 additions and 14 deletions

View File

@@ -128,8 +128,8 @@
<p>
You can use the following options to interact with the TPS. It works
with the query string. Like so:
<a href="https://thinking-people-system.house?size=small"
>https://thinking-people-system.house?size=small</a
<a href="https://thinking-people-system.house?text=hide"
>https://thinking-people-system.house?text=hide</a
>.
</p>
<ul>
@@ -137,9 +137,6 @@
<code>display</code>: display without any HUD with the option
<code><a href="?display=house-only">house-only</a></code>
</li>
<li>
<code>size</code>: can be <code><a href="?size=small">small</a></code>
</li>
<li>
<code>focus</code>: focus only
<a href="?focus=pull-system">a part</a> of the TPS. Can be

View File

@@ -26,15 +26,6 @@ if (display === 'house-only') {
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')
if (focusElements.length > 0) {