Skip to content

Commit

Permalink
style: image upload modal aspect ratio (#1853)
Browse files Browse the repository at this point in the history
  • Loading branch information
anmolsinghbhatia committed Aug 14, 2023
1 parent ddd3301 commit dc2438b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/app/components/core/modals/image-upload-modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -131,10 +131,10 @@ export const ImageUploadModal: React.FC<Props> = ({
Upload Image
</Dialog.Title>
<div className="space-y-3">
<div className="flex items-center gap-3">
<div className="flex items-center justify-center gap-3">
<div
{...getRootProps()}
className={`relative grid h-80 w-full cursor-pointer place-items-center rounded-lg p-12 text-center focus:outline-none focus:ring-2 focus:ring-custom-primary focus:ring-offset-2 ${
className={`relative grid h-80 w-80 cursor-pointer place-items-center rounded-lg p-12 text-center focus:outline-none focus:ring-2 focus:ring-custom-primary focus:ring-offset-2 ${
(image === null && isDragActive) || !value
? "border-2 border-dashed border-custom-border-200 hover:bg-custom-background-90"
: ""
Expand Down

0 comments on commit dc2438b

Please sign in to comment.