@@ -261,13 +261,13 @@ export function CoordinateSystem() {
261261 setOpen ( false ) ;
262262 } ;
263263
264- // const buttonStyle = {
265- // color: "white",
266- // padding: "12px",
267- // backgroundColor: "#1c2025",
268- // width: "100 %",
269- // height: "85%",
270- // };
264+ const buttonStyle = {
265+ color : "white" ,
266+ padding : "12px" ,
267+ backgroundColor : "#1c2025" ,
268+ width : "90 %" ,
269+ height : "85%" ,
270+ } ;
271271
272272 return (
273273 < >
@@ -287,6 +287,8 @@ export function CoordinateSystem() {
287287 title = "Go to Fiducial 0"
288288 btnVariant = "contained"
289289 btnSize = "large"
290+ sx = { buttonStyle }
291+ tooltipSx = { { color : "green" } }
290292 />
291293 </ Grid2 >
292294 < Grid2 size = { 4 } >
@@ -297,6 +299,7 @@ export function CoordinateSystem() {
297299 title = "Go to Fiducial 1"
298300 btnVariant = "contained"
299301 btnSize = "large"
302+ sx = { buttonStyle }
300303 />
301304 </ Grid2 >
302305 < Grid2 size = { 4 } >
@@ -307,6 +310,7 @@ export function CoordinateSystem() {
307310 title = "Go to Fiducial 2"
308311 btnVariant = "contained"
309312 btnSize = "large"
313+ sx = { buttonStyle }
310314 />
311315 </ Grid2 >
312316 < Grid2 size = { 4 } >
@@ -315,6 +319,7 @@ export function CoordinateSystem() {
315319 planName = "gui_set_fiducial_0"
316320 title = "Set Fiducial 0"
317321 btnVariant = "contained"
322+ sx = { buttonStyle }
318323 />
319324 </ Grid2 >
320325 < Grid2 size = { 4 } >
@@ -324,6 +329,7 @@ export function CoordinateSystem() {
324329 planParams = { { point : "1" } }
325330 title = "Set Fiducial 1"
326331 btnVariant = "contained"
332+ sx = { buttonStyle }
327333 />
328334 </ Grid2 >
329335 < Grid2 size = { 4 } >
@@ -333,6 +339,7 @@ export function CoordinateSystem() {
333339 planParams = { { point : "2" } }
334340 title = "Set Fiducial 2"
335341 btnVariant = "contained"
342+ sx = { buttonStyle }
336343 />
337344 </ Grid2 >
338345 < Grid2 size = { 6 } >
@@ -341,6 +348,7 @@ export function CoordinateSystem() {
341348 planName = "cs_maker"
342349 title = "Create the coordinate system on the pmac."
343350 btnVariant = "contained"
351+ sx = { buttonStyle }
344352 />
345353 </ Grid2 >
346354 < Grid2 size = { 6 } >
@@ -349,6 +357,7 @@ export function CoordinateSystem() {
349357 planName = "block_check"
350358 title = "Check the coordinate system was set up correctly."
351359 btnVariant = "contained"
360+ sx = { buttonStyle }
352361 />
353362 </ Grid2 >
354363 </ Grid2 >
0 commit comments