Merge pull request #260 from brecert/profile-fix

This commit is contained in:
Paul Makles 2021-09-24 15:34:45 +01:00 committed by GitHub
commit 44b02fecb0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -233,7 +233,7 @@ export function FileUploader(props: Props) {
? `url('${previewURL ?? defaultPreview}')` ? `url('${previewURL ?? defaultPreview}')`
: previewURL : previewURL
? `linear-gradient( rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5) ), url('${previewURL}')` ? `linear-gradient( rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5) ), url('${previewURL}')`
: "black", : "none",
width, width,
height, height,
}} }}