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" />
|
<User class="h-10 w-10 text-muted-foreground" />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Upload component. Avatars are small; tighten the
|
<!-- Upload component -->
|
||||||
default compress knobs so a 4K phone photo lands as
|
|
||||||
a ~200 KB 512px WebP. -->
|
|
||||||
<ImageUpload
|
<ImageUpload
|
||||||
v-model="uploadedPicture"
|
v-model="uploadedPicture"
|
||||||
:multiple="false"
|
:multiple="false"
|
||||||
|
|
@ -40,7 +38,6 @@
|
||||||
:max-size-mb="5"
|
:max-size-mb="5"
|
||||||
:disabled="isUpdating"
|
:disabled="isUpdating"
|
||||||
:allow-camera="true"
|
:allow-camera="true"
|
||||||
:compress="{ maxWidthOrHeight: 512, maxSizeMB: 0.2 }"
|
|
||||||
placeholder="Upload picture"
|
placeholder="Upload picture"
|
||||||
accept="image/*"
|
accept="image/*"
|
||||||
/>
|
/>
|
||||||
|
|
|
||||||
|
|
@ -136,7 +136,6 @@
|
||||||
:show-primary-button="true"
|
:show-primary-button="true"
|
||||||
:disabled="isCreating"
|
:disabled="isCreating"
|
||||||
:allow-camera="true"
|
:allow-camera="true"
|
||||||
:compress="true"
|
|
||||||
placeholder="Add product photos"
|
placeholder="Add product photos"
|
||||||
/>
|
/>
|
||||||
<FormMessage />
|
<FormMessage />
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue