2 parents b27e9b6 + 7291aaf commit c0c066dCopy full SHA for c0c066d
1 file changed
components/add-car-form.tsx
@@ -136,12 +136,12 @@ export function AddCarForm() {
136
<div className="space-y-4">
137
<FormLabel>Car Image</FormLabel>
138
{imageUrl ? (
139
- <div className="relative w-full aspect-video">
+ <div className="relative w-full h-96 flex items-center justify-center bg-muted/50 rounded-lg">
140
<Image
141
src={imageUrl}
142
alt="Uploaded car image"
143
fill
144
- className="object-cover rounded-lg"
+ className="object-contain rounded-lg"
145
/>
146
<Button
147
type="button"
0 commit comments