Place: Fix illustration conditions and uneven margin
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -158,9 +158,10 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{#if illustration_desktop && illustration_mobile}
|
||||
{#if illustration_desktop || illustration_mobile}
|
||||
<div class="place__illustration"
|
||||
style="--url-desktop: url({illustration_desktop.full_url}); --url-mobile: url({illustration_mobile.full_url});"
|
||||
style="{`--url-desktop: ${illustration_desktop ? `url(${illustration_desktop.full_url});` : undefined}`}
|
||||
{`--url-mobile: ${illustration_mobile ? `url(${illustration_mobile.full_url});` : undefined}`}"
|
||||
/>
|
||||
{/if}
|
||||
</section>
|
||||
|
||||
Reference in New Issue
Block a user