diff --git a/frontend/unified/src/App.tsx b/frontend/unified/src/App.tsx index c6bce350..a3d5fdd3 100644 --- a/frontend/unified/src/App.tsx +++ b/frontend/unified/src/App.tsx @@ -18,6 +18,7 @@ import { SESSION_QUERY } from "./graphql/SessionQuery"; const VERTICAL_SPACING = 2; const HORIZONTAL_SPACING = 2; +const SIDEBAR_WIDTH = 300; const useFedid = (): string => { const token = useAuth().getToken(); @@ -172,28 +173,40 @@ export const App: React.FC = () => { const beamline = mapStringsToBeamline(session.instrument.name); return ( - <> - + + - {/* Wrap the SessionSelector in a as it the TextField won't remember + + {/* Wrap the SessionSelector in a as it the TextField won't remember the session text otherwise */} - - {getSessionSelector(latestSessionAvailable, session, sessionName)} - - - - - - + + {getSessionSelector(latestSessionAvailable, session, sessionName)} + + + + + + + ); } else { return (