From df690a62893468f171a95c18709a28e288cdd764 Mon Sep 17 00:00:00 2001 From: Tom Hubrecht Date: Thu, 28 Jul 2022 18:43:40 +0200 Subject: [PATCH] Better print quality --- src/App.svelte | 22 ++++++++++++++++++++++ src/Help.svelte | 2 +- src/Share.svelte | 7 ++++++- 3 files changed, 29 insertions(+), 2 deletions(-) diff --git a/src/App.svelte b/src/App.svelte index 78eda8d..626cb72 100644 --- a/src/App.svelte +++ b/src/App.svelte @@ -15,6 +15,7 @@ import Help from './Help.svelte'; import Share from './Share.svelte'; import Spinner from './Spinner.svelte'; + import { Icon } from 'sveltestrap'; import 'bootstrap/dist/css/bootstrap.css'; import 'bootstrap-icons/font/bootstrap-icons.css'; @@ -178,6 +179,14 @@

Calendrier de la vie étudiante à l'ENS

+ window.print()} + > + + + @@ -189,6 +198,13 @@
diff --git a/src/Help.svelte b/src/Help.svelte index 912dfbe..7afe4c6 100644 --- a/src/Help.svelte +++ b/src/Help.svelte @@ -5,7 +5,7 @@ const toggle = () => (isOpen = !isOpen); - + diff --git a/src/Share.svelte b/src/Share.svelte index db8dd30..c6f2b7e 100644 --- a/src/Share.svelte +++ b/src/Share.svelte @@ -69,7 +69,12 @@ -