Skip to content

Commit

Permalink
fix: layout étrange sur grand écrans
Browse files Browse the repository at this point in the history
  • Loading branch information
bachrc committed Oct 26, 2024
1 parent 6def703 commit ced36db
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/TdsChart.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@
});
</script>

<canvas bind:this={chartCanvas} id="extractionChart" height={256}></canvas>
<canvas bind:this={chartCanvas} id="extractionChart"></canvas>
1 change: 1 addition & 0 deletions src/lib/chart_config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ export function setupChart(node: ChartItem, extraction: Extraction): Chart {
type: 'scatter',
plugins: [annotationPlugin],
options: {
responsive: true,
animation: false,
plugins: {
annotation: {
Expand Down
2 changes: 1 addition & 1 deletion src/routes/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
</a>
{/if}
</nav>
<main class="grow mx-auto container">
<main class="grow md:max-w-screen-md md:container md:mx-auto">
{@render children()}
</main>
<footer class="w-full text-xs h-10 gap-2 bg-amber-100 flex flex-row items-center justify-center">
Expand Down
2 changes: 1 addition & 1 deletion src/routes/profil/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<div class="flex flex-col gap-4">
<div class="flex flex-col">
<span class="text-xs font-bold">Nom</span>
<ChampEditable valeur={currentUser.value?.name} onupdate={majNom} />
<ChampEditable type="text" valeur={currentUser.value?.name} onupdate={majNom} />
</div>
<div class="flex flex-col">
<span class="text-xs font-bold">Pseudonyme</span>
Expand Down

0 comments on commit ced36db

Please sign in to comment.