diff --git a/src/components/TdsChart.svelte b/src/components/TdsChart.svelte index 2edca2c..f01c95f 100644 --- a/src/components/TdsChart.svelte +++ b/src/components/TdsChart.svelte @@ -44,4 +44,4 @@ }); - + diff --git a/src/lib/chart_config.ts b/src/lib/chart_config.ts index 58952e0..cb2917d 100644 --- a/src/lib/chart_config.ts +++ b/src/lib/chart_config.ts @@ -13,6 +13,7 @@ export function setupChart(node: ChartItem, extraction: Extraction): Chart { type: 'scatter', plugins: [annotationPlugin], options: { + responsive: true, animation: false, plugins: { annotation: { diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index 6bf034f..e357788 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -18,7 +18,7 @@ {/if} -
+
{@render children()}