Skip to content

Commit 5c02482

Browse files
committed
Add typography to plan buttons
1 parent 0d180ad commit 5c02482

File tree

2 files changed

+26
-2
lines changed

2 files changed

+26
-2
lines changed

package-lock.json

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/screens/CollectionPanel.tsx

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import {
99
Stack,
1010
TextField,
1111
Tooltip,
12+
Typography,
1213
} from "@mui/material";
1314
import { PvComponent } from "../pv/PvComponent";
1415
import React from "react";
@@ -71,6 +72,7 @@ function RunButtons(props: ParametersProps) {
7172
<Button
7273
variant="outlined"
7374
color="custom"
75+
size="large"
7476
onClick={() =>
7577
submitAndRunPlanImmediately({
7678
planName: "gui_run_chip_collection",
@@ -93,16 +95,29 @@ function RunButtons(props: ParametersProps) {
9395
})
9496
}
9597
>
96-
Start!
98+
<Typography
99+
variant="button"
100+
fontWeight="fontWeightBold"
101+
sx={{ display: "block" }}
102+
>
103+
Start!
104+
</Typography>
97105
</Button>
98106
</Tooltip>
99107
<Tooltip title="Abort current operation" placement="bottom">
100108
<Button
101109
color="custom"
102110
variant="outlined"
111+
size="large"
103112
onClick={() => abortCurrentPlan()}
104113
>
105-
Abort!
114+
<Typography
115+
variant="button"
116+
fontWeight="fontWeightBold"
117+
sx={{ display: "block" }}
118+
>
119+
Abort!
120+
</Typography>
106121
</Button>
107122
</Tooltip>
108123
</Stack>

0 commit comments

Comments
 (0)