diff --git a/package-lock.json b/package-lock.json index 2c57e04..95b5ee3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2326,7 +2326,7 @@ } }, "mammoth": { - "version": "git+file:///home/forks/work/mammoth-lib.git#a386361efc3477a7c83573b708ffe29e47b9a36c", + "version": "git+file:///home/forks/work/mammoth-lib.git#792583b47619104af20e51480c57d9ca2dc77bae", "requires": { "@types/chokidar": "1.7.4", "@types/history": "4.6.2", diff --git a/src/main-view/container.tsx b/src/main-view/container.tsx index d5631d9..a21d35b 100644 --- a/src/main-view/container.tsx +++ b/src/main-view/container.tsx @@ -3,6 +3,21 @@ import { connect, Dispatch } from "react-redux"; import { StMainView, StAppWithMainView } from "."; import { Grid, Row, Col, Table, ButtonToolbar, Button, Panel, FormControl, Checkbox } from "react-bootstrap"; import { Led } from "mammoth/ui/led"; +import jss from "jss"; + +const sheet = jss.createStyleSheet({ + pnl: { + height: "calc(100% - 20px)", + }, + topRow: { + maxHeight: "20vh", + paddingTop: 10, + paddingBottom: 10, + }, + gap: { + marginBottom: 5, + } +}).attach(); interface Props { }; @@ -10,10 +25,10 @@ interface Callbacks { }; function mainView(props: Props & Callbacks) { return - + - - + + @@ -39,7 +54,7 @@ function mainView(props: Props & Callbacks) { - + @@ -62,7 +77,7 @@ function mainView(props: Props & Callbacks) { - +
@@ -86,7 +101,7 @@ function mainView(props: Props & Callbacks) { - +