diff --git a/frontend/src/App.css b/frontend/src/App.css index 49e0fe9..1769f14 100644 --- a/frontend/src/App.css +++ b/frontend/src/App.css @@ -4,6 +4,11 @@ div { word-break: break-word; } +button { + overflow-wrap: initial; + word-break: initial; +} + .TabPanel { display: flex; height: 100%; diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index 1bb2510..70c3e33 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -344,7 +344,7 @@ const App = () => { const [resume, setResume] = useState(undefined); const [facts, setFacts] = useState(undefined); const timerRef = useRef(null); - const isDesktop = useMediaQuery('(min-width:600px)'); + const isDesktop = useMediaQuery('(min-width:650px)'); const prevIsDesktopRef = useRef(isDesktop); const startCountdown = (seconds: number) => { @@ -1113,68 +1113,78 @@ const App = () => { }} > - { - - { - !isDesktop && - + {!isDesktop && + + + + + + + + { setTab(0); setMenuOpen(false); }} > - - - - - } + + BACKSTORY + + + + } - { menuOpen === false && - - - } - iconPosition="start" /> - { isDesktop && - + } - {isDesktop && - - } - - }/> + iconPosition="start" /> + + + + } /> } - - } + diff --git a/frontend/src/DocumentViewer.tsx b/frontend/src/DocumentViewer.tsx index 9f9a268..f5fba42 100644 --- a/frontend/src/DocumentViewer.tsx +++ b/frontend/src/DocumentViewer.tsx @@ -303,9 +303,9 @@ const DocumentViewer: React.FC = ({ variant="fullWidth" sx={{ bgcolor: 'background.paper' }} > - - {(resume !== undefined || processing === "resume") && } - {(facts !== undefined || processing === "facts") && } + + {(resume !== undefined || processing === "resume") && } + {(facts !== undefined || processing === "facts") && } {/* Document display area */}