diff --git a/modules/dataquery/jsx/nextsteps.tsx b/modules/dataquery/jsx/nextsteps.tsx index 59a88cdfac2..658d11f6f09 100644 --- a/modules/dataquery/jsx/nextsteps.tsx +++ b/modules/dataquery/jsx/nextsteps.tsx @@ -112,19 +112,22 @@ function NextSteps(props: { } const expandIcon = setExpanded(!expanded)} >; const style = expanded ? { background: 'white', - padding: '0.5em', - paddingLeft: '2em', + padding: '1rem 2rem', + width: '100%', } : { - display: 'none', - visibility: 'hidden' as const, - padding: '0.5em', - paddingLeft: '2em', + display: 'hidden', + padding: '0rem 2rem', + height: '0px', + width: '100%', }; return ( @@ -132,30 +135,35 @@ function NextSteps(props: { position: 'fixed', bottom: 0, right: 0, - borderWidth: 'thin', - borderStyle: 'solid', - borderColor: 'black', + border: '1px solid black', // Fix the height size so it doesn't move when // expanded or collapsed - height: 120, // Make sure we're on top of the footer zIndex: 300, + backgroundColor: '#fff', }}> +
setExpanded(!expanded)} + > +

Next Steps

+ {expandIcon}
-

Next Steps

-
+
{steps}
-
{expandIcon}
+
);