diff --git a/experiments/WebUI/src/components/content/DashboardComponent.js b/experiments/WebUI/src/components/content/DashboardComponent.js index b85cf7a..31cae01 100644 --- a/experiments/WebUI/src/components/content/DashboardComponent.js +++ b/experiments/WebUI/src/components/content/DashboardComponent.js @@ -11,11 +11,25 @@ import FrontIcon from "../../assets/img/submarine-front-view.svg"; import D3BearingComponent from "./D3BearingComponent"; import D3GaugeComponent from "./D3GaugeComponent"; +const TITLE = "Dashboard"; + const styles = StyleSheet.create({ - container0: { - padding: "1em", - }, container: { + width: "100%", + height: "100vh", + display: "flex", + flexDirection: "column", + }, + content: { + flexGrow: 1, + flexShrink: 1, + flexBasis: "auto", + height: "100%", + overflowX: "auto", + overflowY: "auto", + }, + gaugesContainer: { + padding: "1em", display: "flex", flexDirection: "row", flexWrap: "wrap", @@ -154,9 +168,9 @@ class DashboardComponent render() { return ( -