style: add margins and border to card

This commit is contained in:
Kerby Martino (aider) committed 2025-05-12 21:05:30 +08:00
1 parent 937d68fd5a
commit c88757e772
1 file changed
+3 -3
+3 -3
View File
@@ -1,4 +1,4 @@
<div class="pb-3 lg:pb-0 xl:pb-1 rounded-card bg-white shadow-[0px_4px_30px_rgba(0,0,0,0.08)]"> <div class="pb-3 lg:pb-0 xl:pb-1 rounded-card bg-white border border-green-900">
<div class="relative h-60 sm:h-65 md:h-60 lg:h-58 xl:h-63 xxl:h-64"> <div class="relative h-60 sm:h-65 md:h-60 lg:h-58 xl:h-63 xxl:h-64">
<a> <a>
<div class="rounded-card flex justify-center absolute w-34 h-10 md:h-8 m-4 py-2 text-sm md:w-24.7 md:text-xs bg-green-300 text-green-900 tracking-tighter rounded-md"> <div class="rounded-card flex justify-center absolute w-34 h-10 md:h-8 m-4 py-2 text-sm md:w-24.7 md:text-xs bg-green-300 text-green-900 tracking-tighter rounded-md">
@@ -12,11 +12,11 @@
</div> </div>
<div class="relative flex flex-col px-3 mt-2 lg:px-2 lg:mt-3 xl:mt-1 xl:px-4 xxl:px-3"> <div class="relative flex flex-col px-3 mt-2 lg:px-2 lg:mt-3 xl:mt-1 xl:px-4 xxl:px-3">
<a> <a>
<p class="sm:w-10/12 md:w-auto lg:w-11/12 font-heading font-bold text-xl tracking-wider md:tracking-normal xl:tracking-wide xxl:tracking-tighter leading-7 lg:leading-6 xl:leading-7 break-words"> <p class="sm:w-10/12 md:w-auto lg:w-11/12 font-heading font-bold text-xl tracking-wider md:tracking-normal xl:tracking-wide xxl:tracking-tighter leading-7 lg:leading-6 xl:leading-7 break-words mb-2">
{{ listing.title }} {{ listing.title }}
</p> </p>
</a> </a>
<p class="text-xs text-gray-600 capitalize font-sans mt-1"> <p class="text-xs text-gray-600 capitalize font-sans mt-1 mb-1">
{{ listing.address }} {{ listing.address }}
</p> </p>
<p class="text-xs text-gray-600 tracking-wide font-sans mt-1"> <p class="text-xs text-gray-600 tracking-wide font-sans mt-1">