Merge branch 'advance-screens'

This commit is contained in:
Yanick Champoux 2023-04-21 12:11:29 -04:00
commit 3f6db25c99
4 changed files with 12 additions and 3 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 132 KiB

After

Width:  |  Height:  |  Size: 129 KiB

View File

@ -5,7 +5,12 @@
</Field> </Field>
<Field label="advanced screens"> <Field label="advanced screens">
<input class="short" type="number" bind:value={advanced} min="0" /> <input
class="short advanced"
type="number"
bind:value={advanced}
min="0"
/>
</Field> </Field>
</div> </div>
</ShipItem> </ShipItem>
@ -35,4 +40,8 @@
gap: 2em; gap: 2em;
align-items: baseline; align-items: baseline;
} }
.advanced {
min-width: 8em;
text-align: center;
}
</style> </style>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 132 KiB

After

Width:  |  Height:  |  Size: 129 KiB

View File

@ -5,10 +5,10 @@
<script> <script>
import { setContext } from "svelte"; import { setContext } from "svelte";
import { createApi } from "$lib/store/api.js"; import { createApi } from "$lib/store/api.ts";
import uids from "$lib/store/uids.js"; import uids from "$lib/store/uids.js";
import Layout from "$lib/components/MainLayout.svelte"; import Layout from "$lib/components/MainLayout.svelte";
setContext("api", createApi()); setContext("api", createApi());
setContext("genUid", uids()); setContext("genUid", uids().genUid);
</script> </script>