fix: prevent image uploader converting every image to jpeg (#1262)
This commit is contained in:
1 parent
db7711869f
commit
23127318dc
2 files changed
+4
-4
No files matched your search
@@ -125,9 +125,9 @@ export default function ImageUploader({
|
||||
</div>
|
||||
</div>
|
||||
<div className="mb-4">
|
||||
<div className="flex flex-col items-center justify-center p-8 mt-6 cropper bg-gray-50">
|
||||
<div className="flex flex-col items-center justify-center p-8 mt-6 cropper">
|
||||
{!result && (
|
||||
<div className="flex items-center justify-start w-20 h-20 bg-gray-500 rounded-full max-h-20">
|
||||
<div className="flex items-center justify-start w-20 h-20 bg-gray-50 rounded-full max-h-20">
|
||||
{!imageSrc && (
|
||||
<p className="w-full text-sm text-center text-white sm:text-xs">
|
||||
{t("no_target", { target })}
|
||||
|
||||
Reference in new issue
Block a user