From 1fc7e5a1a715ef4e7779d304078eba2b62628452 Mon Sep 17 00:00:00 2001
From: abhisheks <abhisheks@consultbop.com>
Date: Fri, 8 Dec 2023 18:40:21 +0530
Subject: [PATCH] refactor: update product description layout

---
 templates/catalog/_partials/product-details.tpl | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/templates/catalog/_partials/product-details.tpl b/templates/catalog/_partials/product-details.tpl
index 8559bf9..f8b5e35 100644
--- a/templates/catalog/_partials/product-details.tpl
+++ b/templates/catalog/_partials/product-details.tpl
@@ -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>