Fix benefits

This commit is contained in:
tree 2023-01-31 11:35:12 +01:00
parent ff3898fa92
commit 30e8ca6243
3 changed files with 4 additions and 2 deletions

View File

@ -44,7 +44,7 @@
>
<div class="w-full relative">
{#if col === 'benefit'}
<div class="absolute top-3 -left-4">
<div class="absolute top-3 -left-2.5 z-50">
<div class="bg-pbw-red py-0.5 px-1.5 rounded-md text-white uppercase text-base">
{item.slogan}
</div>

View File

@ -13,7 +13,7 @@
{#if item[img]}
<img
src={item[img]}
class="{width} {rounded} {aspect} object-cover dark:bg-white drop-shadow-xl"
class="{width} {rounded} {aspect} object-cover dark:bg-white drop-shadow-xl z-10"
alt={item.name}
/>
{:else if item.hash}

View File

@ -99,6 +99,7 @@
{#if type === 'benefits'}
<th />
<th>Name</th>
<th>Benefit</th>
{/if}
{#if type === 'places'}
<th />
@ -225,6 +226,7 @@
>{item.name}</a
>
</td>
<td class="h-12">{item.slogan}</td>
{/if}
{#if type === 'places'}
<td class="w-14">