prune: remove the small prop as it is now no more useful
This commit is contained in:
@@ -128,8 +128,8 @@
|
|||||||
<p>
|
<p>
|
||||||
You can use the following options to interact with the TPS. It works
|
You can use the following options to interact with the TPS. It works
|
||||||
with the query string. Like so:
|
with the query string. Like so:
|
||||||
<a href="https://thinking-people-system.house?size=small"
|
<a href="https://thinking-people-system.house?text=hide"
|
||||||
>https://thinking-people-system.house?size=small</a
|
>https://thinking-people-system.house?text=hide</a
|
||||||
>.
|
>.
|
||||||
</p>
|
</p>
|
||||||
<ul>
|
<ul>
|
||||||
@@ -137,9 +137,6 @@
|
|||||||
<code>display</code>: display without any HUD with the option
|
<code>display</code>: display without any HUD with the option
|
||||||
<code><a href="?display=house-only">house-only</a></code>
|
<code><a href="?display=house-only">house-only</a></code>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
|
||||||
<code>size</code>: can be <code><a href="?size=small">small</a></code>
|
|
||||||
</li>
|
|
||||||
<li>
|
<li>
|
||||||
<code>focus</code>: focus only
|
<code>focus</code>: focus only
|
||||||
<a href="?focus=pull-system">a part</a> of the TPS. Can be
|
<a href="?focus=pull-system">a part</a> of the TPS. Can be
|
||||||
|
|||||||
9
main.ts
9
main.ts
@@ -26,15 +26,6 @@ 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