diff --git a/surfsense_web/components/sources/DocumentUploadTab.tsx b/surfsense_web/components/sources/DocumentUploadTab.tsx index dcafe62ba..2d70a4e1a 100644 --- a/surfsense_web/components/sources/DocumentUploadTab.tsx +++ b/surfsense_web/components/sources/DocumentUploadTab.tsx @@ -470,9 +470,7 @@ export function DocumentUploadTab({

{isElectron ? "Select files or folder" : "Tap to select files or folder"}

-

- {t("file_size_limit")} -

+

{t("file_size_limit")}

e.stopPropagation()}> {renderBrowseButton({ fullWidth: true })} @@ -490,9 +488,7 @@ export function DocumentUploadTab({
- {isDragActive - ? t("drop_files") - : t("drag_drop_more")} + {isDragActive ? t("drop_files") : t("drag_drop_more")} {renderBrowseButton({ compact: true })}
@@ -505,9 +501,7 @@ export function DocumentUploadTab({

{t("drag_drop")}

-

- {t("file_size_limit")} -

+

{t("file_size_limit")}

{renderBrowseButton()}
)} @@ -578,7 +572,9 @@ export function DocumentUploadTab({

- {t("selected_files", { count: files.length })}{formatFileSize(totalFileSize)} + {t("selected_files", { count: files.length })} + + {formatFileSize(totalFileSize)}