forked from github/plane
style: image upload modal aspect ratio (#1853)
This commit is contained in:
parent
ddd3301d17
commit
dc2438b2d3
@ -131,10 +131,10 @@ export const ImageUploadModal: React.FC<Props> = ({
|
|||||||
Upload Image
|
Upload Image
|
||||||
</Dialog.Title>
|
</Dialog.Title>
|
||||||
<div className="space-y-3">
|
<div className="space-y-3">
|
||||||
<div className="flex items-center gap-3">
|
<div className="flex items-center justify-center gap-3">
|
||||||
<div
|
<div
|
||||||
{...getRootProps()}
|
{...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
|
(image === null && isDragActive) || !value
|
||||||
? "border-2 border-dashed border-custom-border-200 hover:bg-custom-background-90"
|
? "border-2 border-dashed border-custom-border-200 hover:bg-custom-background-90"
|
||||||
: ""
|
: ""
|
||||||
|
Loading…
Reference in New Issue
Block a user