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>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{#if illustration_desktop && illustration_mobile}
|
{#if illustration_desktop || illustration_mobile}
|
||||||
<div class="place__illustration"
|
<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}
|
{/if}
|
||||||
</section>
|
</section>
|
||||||
|
|||||||
@@ -35,8 +35,9 @@
|
|||||||
--offset: #{pxVW(72)};
|
--offset: #{pxVW(72)};
|
||||||
position: relative;
|
position: relative;
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
text-align: center;
|
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
text-align: center;
|
||||||
|
padding-left: 3vw;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
|
|
||||||
.anim-translate {
|
.anim-translate {
|
||||||
|
|||||||
Reference in New Issue
Block a user