fixed some sizes
This commit is contained in:
@@ -281,7 +281,7 @@ export default function CartItemCard({ item, onUpdate }: CartItemCardProps) {
|
||||
<div className="grid grid-cols-1 sm:grid-cols-2 md:grid-cols-2 lg:grid-cols-3 gap-3">
|
||||
{/* Product Image & Info */}
|
||||
<div className="md:flex gap-4 flex-1">
|
||||
<div className="relative w-full h-full min-h-[200px] rounded-lg border border-gray-200 overflow-hidden shrink-0 bg-gray-50">
|
||||
<div className="relative w-full aspect-square rounded-lg border border-gray-200 overflow-hidden shrink-0 bg-gray-50">
|
||||
<Image
|
||||
src={getImageSrc()}
|
||||
alt={item.product.name}
|
||||
|
||||
@@ -133,14 +133,14 @@ export default function OrderSummary({
|
||||
};
|
||||
|
||||
return (
|
||||
<Card className="w-full lg:w-[340px] md:w-[300px] p-6 rounded-lg border border-gray-200 shadow-lg h-fit sticky top-20">
|
||||
<Card className="w-full lg:w-[340px] md:w-[300px] gap-0 p-6 rounded-lg border border-gray-200 shadow-lg h-fit sticky top-20">
|
||||
{/* Customer Information */}
|
||||
<div className="mb-8">
|
||||
<h3 className="text-xl font-bold mb-5 text-gray-900">
|
||||
{t("customer_information")}
|
||||
</h3>
|
||||
<div className="space-y-5">
|
||||
<div>
|
||||
{/* <div>
|
||||
<Label className="text-sm font-semibold mb-2 block text-gray-700">
|
||||
{t("name")}
|
||||
</Label>
|
||||
@@ -182,7 +182,7 @@ export default function OrderSummary({
|
||||
{t("requiredField")}
|
||||
</p>
|
||||
)}
|
||||
</div>
|
||||
</div> */}
|
||||
|
||||
<div>
|
||||
<Label className="text-sm font-semibold mb-2 block text-gray-700">
|
||||
@@ -209,7 +209,7 @@ export default function OrderSummary({
|
||||
</div>
|
||||
|
||||
{/* Region Selection */}
|
||||
<div className="mb-8">
|
||||
{/* <div className="mb-8">
|
||||
<Label className="text-xl font-bold mb-4 block text-gray-900">
|
||||
{t("choose_region")}
|
||||
</Label>
|
||||
@@ -246,10 +246,10 @@ export default function OrderSummary({
|
||||
{t("requiredField")}
|
||||
</p>
|
||||
)}
|
||||
</div>
|
||||
</div> */}
|
||||
|
||||
{/* Province Selection */}
|
||||
{selectedRegion && provincesForSelectedRegion.length > 0 && (
|
||||
{/* selectedRegion && provincesForSelectedRegion.length > 0 && (
|
||||
<div className="mb-8">
|
||||
<Label className="text-xl font-bold mb-4 block text-gray-900">
|
||||
{t("choose_address")}
|
||||
@@ -285,7 +285,7 @@ export default function OrderSummary({
|
||||
</p>
|
||||
)}
|
||||
</div>
|
||||
)}
|
||||
) */}
|
||||
|
||||
{/* Note */}
|
||||
<div className="mb-8">
|
||||
|
||||
Reference in New Issue
Block a user