From 90bdb5890d1d568ab57df42e2c597bdf2d53a24e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fe=CC=81lix=20Pe=CC=81ault?= Date: Sat, 11 Apr 2020 11:18:23 +0200 Subject: [PATCH] Place: Fix illustration conditions and uneven margin --- src/routes/location/[country]/[place].svelte | 5 +++-- src/style/pages/_place.scss | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/routes/location/[country]/[place].svelte b/src/routes/location/[country]/[place].svelte index fa10c71..2a22509 100644 --- a/src/routes/location/[country]/[place].svelte +++ b/src/routes/location/[country]/[place].svelte @@ -158,9 +158,10 @@ - {#if illustration_desktop && illustration_mobile} + {#if illustration_desktop || illustration_mobile}
{/if} diff --git a/src/style/pages/_place.scss b/src/style/pages/_place.scss index b532d45..1e47a2d 100644 --- a/src/style/pages/_place.scss +++ b/src/style/pages/_place.scss @@ -35,8 +35,9 @@ --offset: #{pxVW(72)}; position: relative; z-index: 2; - text-align: center; display: inline-block; + text-align: center; + padding-left: 3vw; pointer-events: none; .anim-translate {