mirror of
https://github.com/pocket-id/pocket-id.git
synced 2026-02-11 07:09:17 +00:00
chore: minify background image (#933)
Co-authored-by: Elias Schneider <login@eliasschneider.com>
This commit is contained in:
committed by
GitHub
parent
fb92906c3a
commit
a897b31166
@@ -81,7 +81,7 @@
|
||||
<FileInput
|
||||
id="profile-picture-input"
|
||||
variant="secondary"
|
||||
accept="image/png, image/jpeg"
|
||||
accept="image/png, image/jpeg, image/webp, image/avif, image/heic"
|
||||
onchange={onImageChange}
|
||||
>
|
||||
<div class="group relative size-24 rounded-full">
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
label,
|
||||
image = $bindable(),
|
||||
imageURL,
|
||||
accept = 'image/png, image/jpeg, image/svg+xml, image/gif',
|
||||
accept = 'image/png, image/jpeg, image/svg+xml, image/gif, image/webp, image/avif, image/heic',
|
||||
forceColorScheme,
|
||||
...restProps
|
||||
}: HTMLAttributes<HTMLDivElement> & {
|
||||
|
||||
@@ -187,7 +187,7 @@
|
||||
<FileInput
|
||||
id="logo"
|
||||
variant="secondary"
|
||||
accept="image/png, image/jpeg, image/svg+xml"
|
||||
accept="image/png, image/jpeg, image/svg+xml, image/webp, image/avif, image/heic"
|
||||
onchange={onLogoChange}
|
||||
>
|
||||
<Button variant="secondary">
|
||||
|
||||
Reference in New Issue
Block a user