Compare commits
No commits in common. "a815442990aa732e8eb61aa9fa4e600894cf78cc" and "1c35bcb9d1ced173d31fc012c54dea45ee17105e" have entirely different histories.
a815442990
...
1c35bcb9d1
2 changed files with 1 additions and 5 deletions
|
|
@ -30,9 +30,7 @@
|
|||
<User class="h-10 w-10 text-muted-foreground" />
|
||||
</div>
|
||||
|
||||
<!-- Upload component. Avatars are small; tighten the
|
||||
default compress knobs so a 4K phone photo lands as
|
||||
a ~200 KB 512px WebP. -->
|
||||
<!-- Upload component -->
|
||||
<ImageUpload
|
||||
v-model="uploadedPicture"
|
||||
:multiple="false"
|
||||
|
|
@ -40,7 +38,6 @@
|
|||
:max-size-mb="5"
|
||||
:disabled="isUpdating"
|
||||
:allow-camera="true"
|
||||
:compress="{ maxWidthOrHeight: 512, maxSizeMB: 0.2 }"
|
||||
placeholder="Upload picture"
|
||||
accept="image/*"
|
||||
/>
|
||||
|
|
|
|||
|
|
@ -136,7 +136,6 @@
|
|||
:show-primary-button="true"
|
||||
:disabled="isCreating"
|
||||
:allow-camera="true"
|
||||
:compress="true"
|
||||
placeholder="Add product photos"
|
||||
/>
|
||||
<FormMessage />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue