From dd66c34b6a3300348be996eb849aef38e0883a1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fe=CC=81lix=20Pe=CC=81ault?= Date: Tue, 23 Nov 2021 23:04:33 +0100 Subject: [PATCH] Add close button to Viewer --- src/components/atoms/ButtonCircle.svelte | 30 +++++++++++++----- .../[country]/[location]/[photo].svelte | 11 +++++++ src/style/atoms/_button-circle.scss | 1 + src/style/pages/_viewer-photo.scss | 31 +++++++++++++++++++ 4 files changed, 65 insertions(+), 8 deletions(-) diff --git a/src/components/atoms/ButtonCircle.svelte b/src/components/atoms/ButtonCircle.svelte index c4029d8..f4c96ca 100644 --- a/src/components/atoms/ButtonCircle.svelte +++ b/src/components/atoms/ButtonCircle.svelte @@ -1,4 +1,6 @@ - \ No newline at end of file + {/if} + +{:else} + +{/if} \ No newline at end of file diff --git a/src/routes/[country]/[location]/[photo].svelte b/src/routes/[country]/[location]/[photo].svelte index 9463bee..a914d1a 100644 --- a/src/routes/[country]/[location]/[photo].svelte +++ b/src/routes/[country]/[location]/[photo].svelte @@ -218,6 +218,17 @@

Tap for fullscreen

+ + + + + +