From ced36db48ce80470e6bc6413ac0df6233d646cc3 Mon Sep 17 00:00:00 2001 From: bachrc Date: Sat, 26 Oct 2024 22:25:29 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20layout=20=C3=A9trange=20sur=20grand=20?= =?UTF-8?q?=C3=A9crans?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/TdsChart.svelte | 2 +- src/lib/chart_config.ts | 1 + src/routes/+layout.svelte | 2 +- src/routes/profil/+page.svelte | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) 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()}