From 72afa6a1e509dd618ebd53ac1481c5bf570bfcae Mon Sep 17 00:00:00 2001 From: Reece Browne Date: Fri, 15 Aug 2025 12:02:55 +0100 Subject: [PATCH] typescript fix for mime types --- frontend/src/components/FileManager.tsx | 24 +++++++++---------- .../src/components/shared/LandingPage.tsx | 2 +- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/frontend/src/components/FileManager.tsx b/frontend/src/components/FileManager.tsx index 2e42274ac..5f6af568b 100644 --- a/frontend/src/components/FileManager.tsx +++ b/frontend/src/components/FileManager.tsx @@ -108,7 +108,7 @@ const FileManager: React.FC = ({ selectedTool }) => { className="overflow-hidden p-0" withCloseButton={false} styles={{ - content: { + content: { position: 'relative', margin: isMobile ? '1rem' : '2rem' }, @@ -116,12 +116,12 @@ const FileManager: React.FC = ({ selectedTool }) => { header: { display: 'none' } }} > -
= ({ selectedTool }) => { onDrop={handleNewFileUpload} onDragEnter={() => setIsDragging(true)} onDragLeave={() => setIsDragging(false)} - accept="*/*" + accept={["*/*"] as any} multiple={true} activateOnClick={false} - style={{ - height: '100%', + style={{ + height: '100%', width: '100%', border: 'none', borderRadius: '30px', @@ -158,11 +158,11 @@ const FileManager: React.FC = ({ selectedTool }) => { {isMobile ? : } - +
); }; -export default FileManager; \ No newline at end of file +export default FileManager; diff --git a/frontend/src/components/shared/LandingPage.tsx b/frontend/src/components/shared/LandingPage.tsx index 11ecb6b6b..52d410cdb 100644 --- a/frontend/src/components/shared/LandingPage.tsx +++ b/frontend/src/components/shared/LandingPage.tsx @@ -33,7 +33,7 @@ const LandingPage = () => { {/* White PDF Page Background */}