Merge pull request #21470 from overleaf/jdt-file-upload-limit-notif

[Web] Update 180 file upload limit notification style

GitOrigin-RevId: 860567d8e1218c0d2a89d019c116b59be15132e7
This commit is contained in:
Jimmy Domagala-Tang 2024-11-04 08:44:29 -08:00 committed by Copybot
parent 8e2ad427c8
commit 745695650c
3 changed files with 22 additions and 0 deletions

View file

@ -156,6 +156,12 @@ export default function FileTreeUploadDoc() {
return conflicts.length === 0 && folderConflicts.length === 0
},
autoProceed: true,
locale: {
strings: {
youCanOnlyUploadX:
'You can only upload %{smart_count} files at a time',
},
},
})
// use the basic XHR uploader
.use(XHRUpload, {

View file

@ -545,4 +545,12 @@
width: 26em; // sized to create a wrap between the sentences
max-width: 100%;
}
.uppy-Informer p {
background-color: @blue-10;
border: 1px solid @blue-20;
border-radius: @border-radius-base-new;
color: @content-primary;
font-size: @font-size-03;
}
}

View file

@ -635,4 +635,12 @@
width: 26em; // sized to create a wrap between the sentences
max-width: 100%;
}
.uppy-Informer p {
background-color: var(--bg-info-03);
border: 1px solid var(--blue-20);
border-radius: var(--border-radius-base);
color: var(--content-primary);
font-size: var(--font-size-03);
}
}