refactor: update card layout and styling

This commit is contained in:
Kerby Martino authored and Kerby Martino (aider) committed 2025-05-12 16:34:08 +08:00
1 parent 0aa3613b61
commit dae7112bb2
1 file changed
+3 -5
+3 -5
View File
@@ -13,11 +13,9 @@
{{ listing.title }} {{ listing.title }}
</p> </p>
</a> </a>
<img alt="" class="ml-6 mr-2 sm:-mt-4 lg:ml-0 lg:mr-0 xl:mt-0 cursor-pointer" <div class="w-10 h-10 bg-gray-100 rounded-full flex items-center justify-center hover:border-indigo-700 border-2 border-transparent cursor-pointer" title="Add to Favorites">
onclick="toggleClick('toggle-click')" src="/assets/svg/icon_heart.svg"> <img src="assets/svg/icon_like.svg" class="w-5 h-5" alt="Like">
<img alt="" </div>
class="absolute right-0 mr-5 mt-4 sm:mr-5 sm:mt-2 md:mt-1 lg:mr-3 xl:mt-3 xxl:mt-3 cursor-pointer hidden"
id="toggle-click" onclick="toggleClick('toggle-click')" src="/assets/svg/icon_heart_full.svg">
</div> </div>
<div class="flex justify-between pl-3 lg:pt-2 lg:px-2 xl:px-4 xl:pt-0 xxl:px-3"> <div class="flex justify-between pl-3 lg:pt-2 lg:px-2 xl:px-4 xl:pt-0 xxl:px-3">
<p class="sm:w-5/12 md:w-auto xl:w-9/12 xxl:w-10/12 flex text-xs text-gray-600 capitalize font-sans"> <p class="sm:w-5/12 md:w-auto xl:w-9/12 xxl:w-10/12 flex text-xs text-gray-600 capitalize font-sans">