From c020e4488f6a35865a5c03cea9cfae2c75a1abdb Mon Sep 17 00:00:00 2001 From: Christian Oertel Date: Fri, 19 Jan 2024 15:10:51 +0100 Subject: [PATCH] Fix variable heights Signed-off-by: Christian Oertel --- .../ScenarioOverview/ScenarioOverview.tsx | 104 +++++++++--------- .../Scenarios/SingleScenarioView.tsx | 16 +-- 2 files changed, 60 insertions(+), 60 deletions(-) diff --git a/new/src/components/ScenarioOverview/ScenarioOverview.tsx b/new/src/components/ScenarioOverview/ScenarioOverview.tsx index 1e539eeb..d6895110 100644 --- a/new/src/components/ScenarioOverview/ScenarioOverview.tsx +++ b/new/src/components/ScenarioOverview/ScenarioOverview.tsx @@ -4,7 +4,7 @@ import { Breadcrumbs, Button, Divider, - Drawer, + //Drawer, Grid, Link, List, @@ -44,14 +44,14 @@ interface Headers { belowHeader?: string; } -const StyledDrawer = styled(Drawer)({ - width: 240, - flexShrink: 0, - '& .MuiDrawer-paper': { - width: 240, - backgroundColor: "rgba(250,250,250,255)" - }, -}); +// const StyledDrawer = styled(Drawer)({ +// width: 240, +// flexShrink: 0, +// '& .MuiDrawer-paper': { +// width: 240, +// backgroundColor: "rgba(250,250,250,255)" +// }, +// }); const Content = styled('div')(({ theme }) => ({ flexGrow: 1, @@ -88,49 +88,49 @@ export function ScenarioOverview(props: ScenarioOverviewProps) { ); } -export function MenuBar() { - return( - - - - SUMMARY} /> - - - - - All Scenarios - } - /> - - - - Failed Scenarios - } - /> - - - - Pending Scenarios - } - /> - - - - TAGS} /> - - - CLASSES} /> - - - BOOKMARKS} /> - - - - ) -} +// export function MenuBar() { +// return( +// +// +// +// SUMMARY} /> +// +// +// +// +// All Scenarios +// } +// /> +// +// +// +// Failed Scenarios +// } +// /> +// +// +// +// Pending Scenarios +// } +// /> +// +// +// +// TAGS} /> +// +// +// CLASSES} /> +// +// +// BOOKMARKS} /> +// +// +// +// ) +// } function ScenarioTitles(props: { headers: Headers }) { return ( diff --git a/new/src/components/Scenarios/SingleScenarioView.tsx b/new/src/components/Scenarios/SingleScenarioView.tsx index 90f37441..9ef3899f 100644 --- a/new/src/components/Scenarios/SingleScenarioView.tsx +++ b/new/src/components/Scenarios/SingleScenarioView.tsx @@ -1,5 +1,5 @@ import { ReportStatistics, ScenarioCaseModel, ScenarioModel } from "../../reportModel"; -import {MenuBar, ScenarioOverview} from "../ScenarioOverview/ScenarioOverview"; +import {/*MenuBar,*/ ScenarioOverview} from "../ScenarioOverview/ScenarioOverview"; import { Scenario } from "./Scenario"; import { useState } from "react"; import {Grid} from "@mui/material"; @@ -9,15 +9,15 @@ export function SingleScenarioView(props: { reportName: string; scenario: Scenar return ( <> - -
- -
-
+ {/**/} + {/*
*/} + {/* */} + {/*
*/} + {/*
*/} -
+
-
+