Dashboard: Re-align Save form (#68565)

flex direction column does not add anything to the layout in the save form, but has an alignment issue in safari
This commit is contained in:
Polina Boneva
2023-05-17 15:29:16 +03:00
committed by GitHub
parent dbbbc46351
commit 71e7ec1c83

View File

@@ -60,7 +60,7 @@ export const SaveDashboardForm = ({
{({ register, errors }) => {
const messageProps = register('message');
return (
<Stack direction="column" gap={2}>
<Stack gap={2}>
{hasTimeChanged && (
<Checkbox
checked={!!options.saveTimerange}
@@ -102,7 +102,6 @@ export const SaveDashboardForm = ({
autoFocus
rows={5}
/>
<Stack alignItems="center">
<Button variant="secondary" onClick={onCancel} fill="outline">
Cancel