Skip to content

Commit

Permalink
Bigger e-stop
Browse files Browse the repository at this point in the history
  • Loading branch information
rafal-gorecki committed Dec 30, 2024
1 parent 1ab133c commit 768863b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/studio-base/src/panels/EStop/EStop.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ type Action =
| { type: "path"; path: string }
| { type: "seek" };

const useStyles = makeStyles<{ state?: string }>()((theme, { state }) => {
const buttonColor = state === "go" ? "#090" : "#900";
const useStyles = makeStyles<{ state: EStopState }>()((theme, { state }) => {
const buttonColor = state === "go" ? "#090" : state === "stop" ? "#900" : "#666";
const augmentedButtonColor = theme.palette.augmentColor({
color: { main: buttonColor },
});
Expand Down Expand Up @@ -331,8 +331,8 @@ function EStopContent(
onClick={eStopClicked}
data-testid="call-service-button"
style={{
minWidth: "100px",
minHeight: "100px",
minWidth: "150px",
minHeight: "150px",
fontSize: "2.2rem",
borderRadius: "50%",
}}
Expand Down

0 comments on commit 768863b

Please sign in to comment.