diff --git a/rsconcept/frontend/src/App.tsx b/rsconcept/frontend/src/App.tsx index 6769c85d..a0abb79f 100644 --- a/rsconcept/frontend/src/App.tsx +++ b/rsconcept/frontend/src/App.tsx @@ -22,14 +22,14 @@ function App () { const scrollWindowSize = useMemo( () => { return !noNavigation ? - 'max-h-[calc(100vh-4.5rem)]' - : 'max-h-[100vh]'; + 'calc(100vh - 4.5rem)' + : '100vh'; }, [noNavigation]); const mainSize = useMemo( () => { return !noNavigation ? - 'min-h-[calc(100vh-12rem)]' - : 'min-h-[calc(100vh-8rem)] '; + 'calc(100vh - 12rem)' + : '100vh'; }, [noNavigation]); return ( @@ -42,8 +42,8 @@ function App () { pauseOnFocusLoss={false} /> -
-
+
+
} /> @@ -60,7 +60,7 @@ function App () { } />
-
); diff --git a/rsconcept/frontend/src/pages/RSFormPage/EditorTermGraph.tsx b/rsconcept/frontend/src/pages/RSFormPage/EditorTermGraph.tsx index 97f5ce13..52e0bb91 100644 --- a/rsconcept/frontend/src/pages/RSFormPage/EditorTermGraph.tsx +++ b/rsconcept/frontend/src/pages/RSFormPage/EditorTermGraph.tsx @@ -189,7 +189,7 @@ function EditorTermGraph({ onOpenEdit }: EditorTermGraphProps) { () => { return !noNavigation ? 'calc(100vh - 13rem)' - : 'calc(100vh - 8.5rem)'; + : 'calc(100vh - 2rem)'; }, [noNavigation]); const dismissedStyle = useCallback( @@ -281,7 +281,7 @@ function EditorTermGraph({ onOpenEdit }: EditorTermGraphProps) {