aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2024-11-05 00:20:41 -0800
committerAdam Soltys <[email protected]>2024-11-05 00:20:41 -0800
commit69f4ccba75a0b3b4343d7fd7f910d767c62e25f9 (patch)
treeb87839db3c594b85608cabd4e4c4a01bb55fe671 /src/routes
parent674de46a6a9f1b793313b5c027a34d396217ed84 (diff)
downloadcoinos-ui-69f4ccba75a0b3b4343d7fd7f910d767c62e25f9.tar.gz
coinos-ui-69f4ccba75a0b3b4343d7fd7f910d767c62e25f9.zip
dark styles
Diffstat (limited to 'src/routes')
-rw-r--r--src/routes/(app)/scan/[email protected]4
-rw-r--r--src/routes/(app)/scan/+page.svelte13
2 files changed, 6 insertions, 11 deletions
diff --git a/src/routes/(app)/scan/[email protected] b/src/routes/(app)/scan/[email protected]
index 16ba5888..2dc061a8 100644
--- a/src/routes/(app)/scan/[email protected]
+++ b/src/routes/(app)/scan/[email protected]
@@ -1,3 +1,3 @@
-<div class="container mt-4">
+<main class="min-h-dvh">
<slot />
-</div>
+</main>
diff --git a/src/routes/(app)/scan/+page.svelte b/src/routes/(app)/scan/+page.svelte
index e9bf4fd6..dd48e0e1 100644
--- a/src/routes/(app)/scan/+page.svelte
+++ b/src/routes/(app)/scan/+page.svelte
@@ -32,8 +32,8 @@
<svelte:window on:resize={resize} />
-<div class="flex w-full mb-4 px-4">
- <div class="bg-black mx-auto rounded-3xl">
+<div class="flex w-full mb-4 p-4">
+ <div class="mx-auto rounded-3xl">
<video
bind:this={vid}
class="border-4 rounded-3xl border-black max-h-[calc(100vh*0.7)]"
@@ -41,13 +41,8 @@
</div>
</div>
-<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>
+<div class="flex justify-center">
+ <button class="btn !w-auto" on:click={back}>Cancel</button>
</div>
<style>