Skip to content

Commit 6a76c80

Browse files
💄 - style: move Modal close button in settings page to the right
1 parent 00c21c4 commit 6a76c80

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

frontend/src/pages/settings/Settings.tsx

+4-1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import {
88
Modal,
99
P,
1010
SerializedFormData,
11+
Toolbar,
1112
} from "@maykin-ui/admin-ui";
1213
import { FormEvent, useState } from "react";
1314
import { useLoaderData } from "react-router-dom";
@@ -69,7 +70,9 @@ export function SettingsPage({ children, ...props }: SettingsPageProps) {
6970
>
7071
<Body>
7172
<P>De instellingen zijn succesvol opgeslagen.</P>
72-
<Button onClick={() => setModalOpenState(false)}>Sluiten</Button>
73+
<Toolbar align="end">
74+
<Button onClick={() => setModalOpenState(false)}>Sluiten</Button>
75+
</Toolbar>
7376
</Body>
7477
</Modal>
7578
<H2>Instellingen</H2>

0 commit comments

Comments
 (0)