From 6479840f851e024a1a31b390729e5368abcbbd9c Mon Sep 17 00:00:00 2001 From: Bogdan Kostov Date: Thu, 31 Oct 2024 19:57:04 +0100 Subject: [PATCH 1/3] [Fix #644] Fix fault tree editor layout - fix canvas and sidebar overlapped by top title bar - fix missplaced outdated message count indicator for calculated failure rate in root node --- src/components/navigation/Navigation.styles.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/navigation/Navigation.styles.tsx b/src/components/navigation/Navigation.styles.tsx index d7f4010e..414d99c6 100644 --- a/src/components/navigation/Navigation.styles.tsx +++ b/src/components/navigation/Navigation.styles.tsx @@ -3,8 +3,7 @@ import { Theme } from "@mui/material"; const useStyles = makeStyles()((theme: Theme) => ({ container: { - display: "flex", - flexDirection: "column", + display: "block", alignItems: "stretch", height: "100vh", overflow: "hidden", From 4a07271a2373f1d067e3c60dbbf24e3060cb03bd Mon Sep 17 00:00:00 2001 From: Bogdan Kostov Date: Thu, 31 Oct 2024 20:05:13 +0100 Subject: [PATCH 2/3] [Fix #644] Fix fault tree editor layout - fix canvas and sidebar overlapped by top title bar - fix missplaced outdated message count indicator for calculated failure rate in root node --- src/components/navigation/Navigation.styles.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/navigation/Navigation.styles.tsx b/src/components/navigation/Navigation.styles.tsx index 414d99c6..ee6770aa 100644 --- a/src/components/navigation/Navigation.styles.tsx +++ b/src/components/navigation/Navigation.styles.tsx @@ -9,8 +9,7 @@ const useStyles = makeStyles()((theme: Theme) => ({ overflow: "hidden", }, childrenContainer: { - display: "flex", - flexDirection: "column", + display: "block", overflow: "hidden", flex: "1", zIndex: 1, From 8e2242518c897a3c9d66ba5dbab9a8f9da04a59b Mon Sep 17 00:00:00 2001 From: Bogdan Kostov Date: Thu, 31 Oct 2024 20:17:47 +0100 Subject: [PATCH 3/3] [Fix #644] Fix fault tree editor layout - fix canvas and sidebar overlapped by top title bar - fix missplaced outdated message count indicator for calculated failure rate in root node --- src/components/dashboard/Dashboard.styles.tsx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/components/dashboard/Dashboard.styles.tsx b/src/components/dashboard/Dashboard.styles.tsx index 41c9feda..141b7ece 100644 --- a/src/components/dashboard/Dashboard.styles.tsx +++ b/src/components/dashboard/Dashboard.styles.tsx @@ -3,11 +3,7 @@ import { Theme } from "@mui/material"; const useStyles = makeStyles()((theme: Theme) => { return { - root: { - display: "flex", - flexFlow: "column", - height: "100vh", - }, + root: {}, fab: { zIndex: 5, position: "absolute",