refactor: update product description layout

staging
abhisheks 2023-12-08 18:40:21 +05:30
parent a9218a4d48
commit 1fc7e5a1a7
1 changed files with 6 additions and 4 deletions

View File

@ -4,12 +4,14 @@
<h1 class='text-lg font-bold text-gray-600'> <h1 class='text-lg font-bold text-gray-600'>
Description Description
</h1> </h1>
<ul class="product-features list-[square] w-full"> <ul class="product-features list-[square] w-full flex flex-col gap-1 justify-center">
{foreach from=$product.grouped_features item=feature} {foreach from=$product.grouped_features item=feature}
<li> <div class="flex gap-2">
<span class="name inline-flex w-40 font-semibold">{$feature.name}</span> <li class="w-44 shrink-0">
<span class="value">{$feature.value|escape:'htmlall'|nl2br nofilter}</span> <span class="name font-semibold">{$feature.name}</span>
</li> </li>
<span class="value">{$feature.value|escape:'htmlall'|nl2br nofilter}</span>
</div>
{/foreach} {/foreach}
</ul> </ul>
</div> </div>