forked from brooksbingham/theme-elegance
refactor: update product description layout
parent
a9218a4d48
commit
1fc7e5a1a7
|
@ -4,12 +4,14 @@
|
|||
<h1 class='text-lg font-bold text-gray-600'>
|
||||
Description
|
||||
</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}
|
||||
<li>
|
||||
<span class="name inline-flex w-40 font-semibold">{$feature.name}</span>
|
||||
<span class="value">{$feature.value|escape:'htmlall'|nl2br nofilter}</span>
|
||||
<div class="flex gap-2">
|
||||
<li class="w-44 shrink-0">
|
||||
<span class="name font-semibold">{$feature.name}</span>
|
||||
</li>
|
||||
<span class="value">{$feature.value|escape:'htmlall'|nl2br nofilter}</span>
|
||||
</div>
|
||||
{/foreach}
|
||||
</ul>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue