diff --git a/src/app.css b/src/app.css
index 74d69d2..b817ed3 100644
--- a/src/app.css
+++ b/src/app.css
@@ -4,6 +4,7 @@ html,
body {
height: 100%;
scroll-behavior: smooth;
+ background-color: #e7f7df;
}
@keyframes fade-in {
diff --git a/src/routes/(area)/+layout.svelte b/src/routes/(area)/+layout.svelte
deleted file mode 100644
index 58f1c85..0000000
--- a/src/routes/(area)/+layout.svelte
+++ /dev/null
@@ -1,3 +0,0 @@
-
-
-
diff --git a/src/routes/(area)/today/+page.svelte b/src/routes/(area)/today/+page.svelte
index 626d7f6..91f19f1 100644
--- a/src/routes/(area)/today/+page.svelte
+++ b/src/routes/(area)/today/+page.svelte
@@ -75,6 +75,18 @@
})
});
+ onMount(() => {
+ if (typeof window !== 'object') return;
+
+ const listener = () => {
+ const container = document.getElementById('container') as HTMLDivElement;
+ container.style.height = document.body.offsetHeight + 'px';
+ };
+
+ listener();
+ window.addEventListener('resize', listener);
+ })
+
const start = () => {
recordingStart = new Date();
recorder?.start();
@@ -109,83 +121,76 @@
};
-
-
+
+
-
-
-
-
{now.toLocaleDateString(lang(), { dateStyle: 'long' })}
- {now.toLocaleTimeString(lang())}
-
-
- {#if !!recordingStart}
-
-
-
-
-
-
- {dateDiff(now, recordingStart).toLocaleTimeString(lang(), { minute: 'numeric', second: 'numeric' })}
-
-
-
- {/if}
-
-
-
-
-
- {#if recordingURL}
-
-
-
-
-
-
-
-
+
+
+
{now.toLocaleDateString(lang(), { dateStyle: 'long' })}
+ {now.toLocaleTimeString(lang())}
- {/if}
+
+ {#if !!recordingStart}
+
+
+
+
+
+
+ {dateDiff(now, recordingStart).toLocaleTimeString(lang(), { minute: 'numeric', second: 'numeric' })}
+
+
+
+ {/if}
+
+
+
+
+
-
+{#if recordingURL}
+
+
+
+
+
+
+
+
+
+{/if}
\ No newline at end of file