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'>
|
<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>
|
||||||
|
|
Loading…
Reference in New Issue