aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2022-10-31 13:31:05 -0700
committerAdam Soltys <[email protected]>2022-10-31 13:31:05 -0700
commit61fb616ff75b6c117b153b28fca937a0eafe26be (patch)
tree35cb48d4487c78c86f0b72f2d628a38252aaa24c
parent8d90bfd0b4f35c91c6a2a57db63317510569050a (diff)
downloadcoinos-ui-61fb616ff75b6c117b153b28fca937a0eafe26be.tar.gz
coinos-ui-61fb616ff75b6c117b153b28fca937a0eafe26be.zip
set max height on scanner
-rw-r--r--src/locales/en.json2
-rw-r--r--src/routes/+layout.svelte2
-rw-r--r--src/routes/scan/+page.svelte4
3 files changed, 4 insertions, 4 deletions
diff --git a/src/locales/en.json b/src/locales/en.json
index 792ee490..b3ecbed2 100644
--- a/src/locales/en.json
+++ b/src/locales/en.json
@@ -44,7 +44,7 @@
},
"locations": {
"header": "Locations",
- "description": "Here are some businesses that are accepting bitcoin with Coinos. Have a suggestion? File it at <a class=\"underline\" href=\"https://btcmap.org\">BTC Map</a> and we'll take care of it!"
+ "description": "Here are some businesses that are accepting bitcoin with Coinos. Feel free to <a class=\"underline\" href=\"https://github.com/teambtcmap/btcmap-data/wiki/Tagging-Instructions\">suggest changes</a> if we missed something."
}
},
"error": {
diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte
index 11562264..730557a7 100644
--- a/src/routes/+layout.svelte
+++ b/src/routes/+layout.svelte
@@ -44,7 +44,7 @@
lost = Date.now() - $last > 10000;
if (lost) connect(token);
send('heartbeat');
- timer = setTimeout(count, 5000);
+ timer = setTimeout(count, 500);
};
onDestroy(() => browser && clearTimeout(timer));
diff --git a/src/routes/scan/+page.svelte b/src/routes/scan/+page.svelte
index 13053d7e..4160d860 100644
--- a/src/routes/scan/+page.svelte
+++ b/src/routes/scan/+page.svelte
@@ -23,11 +23,11 @@
<div class="flex w-full mb-4 px-4">
<div class="bg-black mx-auto rounded-3xl">
- <video bind:this={vid} class="border-4 rounded-3xl border-black md:max-w-[600px]" />
+ <video bind:this={vid} class="border-4 rounded-3xl border-black md:max-w-[600px] !max-h-[300px]" />
</div>
</div>
-<div class="flex w-full">
+<div class="flex w-full mb-4">
<button class="mx-auto border rounded-full px-6 py-2 font-bold hover:opacity-80" on:click={back}>
Cancel
</button>