Skip to content

Commit 80f6867

Browse files
authored
change formating on simulation review page title bar (#78)
1 parent 7d59f08 commit 80f6867

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

web-conexs-client/src/components/SimulationReviewPage.tsx

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ import { getSimulationPage } from "../queryfunctions";
1616
import MainPanel from "./MainPanel";
1717
import { useNavigate } from "react-router-dom";
1818

19+
import NavigateNextIcon from "@mui/icons-material/NavigateNext";
20+
import NavigateBeforeIcon from "@mui/icons-material/NavigateBefore";
21+
1922
export default function SimulationReviewPage() {
2023
const [cursor, setCursor] = useState<string | null>(null);
2124
const [next, setNext] = useState<string | null>(null);
@@ -56,7 +59,12 @@ export default function SimulationReviewPage() {
5659
<MainPanel
5760
toolbarElements={
5861
<>
59-
<Stack direction="row" spacing="20px" alignItems="center">
62+
<Stack
63+
spacing={"30px"}
64+
direction="row"
65+
alignItems="center"
66+
margin="5px 20px"
67+
>
6068
<Typography variant="h5" component="div">
6169
Simulation Results
6270
</Typography>
@@ -85,20 +93,20 @@ export default function SimulationReviewPage() {
8593
</DialogActions>
8694
</Dialog>
8795
</Stack>
88-
<Stack direction="row" spacing={2}>
96+
<Stack direction="row" spacing={"10px"}>
8997
<Button
9098
variant="contained"
9199
disabled={previous == null}
92100
onClick={() => setCursor(previous)}
93101
>
94-
&lt;
102+
<NavigateBeforeIcon />
95103
</Button>
96104
<Button
97105
variant="contained"
98106
disabled={next == null}
99107
onClick={() => setCursor(next)}
100108
>
101-
&gt;
109+
<NavigateNextIcon />
102110
</Button>
103111
</Stack>
104112
</>

0 commit comments

Comments
 (0)