Add note specifying the maximum file size allowed for the background image (#1150)
This commit is contained in:
+2
-2
@@ -16,7 +16,7 @@
|
|||||||
accept=".jpg,.jpeg,.png,image/jpeg,image/png"
|
accept=".jpg,.jpeg,.png,image/jpeg,image/png"
|
||||||
(change)="onFileSelected($event)"
|
(change)="onFileSelected($event)"
|
||||||
style="display: none;">
|
style="display: none;">
|
||||||
<small class="file-note">Only JPG and PNG files are supported</small>
|
<small class="file-note">Supported formats: JPEG, PNG • Maximum file size: 5 MB</small>
|
||||||
@if (uploadFile) {
|
@if (uploadFile) {
|
||||||
<small class="selected-file">{{ uploadFile.name }}</small>
|
<small class="selected-file">{{ uploadFile.name }}</small>
|
||||||
}
|
}
|
||||||
@@ -35,7 +35,7 @@
|
|||||||
placeholder="Paste image URL here"
|
placeholder="Paste image URL here"
|
||||||
class="url-input"
|
class="url-input"
|
||||||
pInputText>
|
pInputText>
|
||||||
<small class="url-note">Only JPG and PNG URLs are supported</small>
|
<small class="url-note">Supported formats: JPEG, PNG • Maximum file size: 5 MB</small>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@if (uploadError) {
|
@if (uploadError) {
|
||||||
|
|||||||
Reference in New Issue
Block a user