Allow webp images on mod edit (#185)

This commit is contained in:
Milan 2021-04-25 04:53:39 +02:00 committed by GitHub
parent d3449609da
commit 246602e275
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -87,7 +87,7 @@
<div class="columns row-grow-1">
<div class="column-grow-1 rows">
<file-input
accept="image/png,image/jpeg,image/gif"
accept="image/png,image/jpeg,image/gif,image/webp"
class="choose-image"
prompt="Choose image or drag it here"
@change="showPreviewImage"
@ -95,7 +95,7 @@
<ul class="row-grow-1">
<li>Must be a square</li>
<li>Minimum size is 100x100</li>
<li>Acceptable formats are PNG, JPEG and GIF</li>
<li>Acceptable formats are PNG, JPEG, GIF and WEBP</li>
</ul>
<button
class="transparent-button"