Skip to content

Commit

Permalink
Restyle modal title and text
Browse files Browse the repository at this point in the history
  • Loading branch information
samau3 committed Oct 28, 2024
1 parent 81a100b commit 15febcf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import {
Alert,
Modal,
Transition,
Text,
} from '@mantine/core';
import { useForm, isNotEmpty } from '@mantine/form';
import { useDisclosure } from '@mantine/hooks';
Expand Down Expand Up @@ -189,7 +190,9 @@ export default function RegisterPhysician({
title="This form has unsaved changes."
yOffset="16vh"
>
<p>Are you sure you want to close this form without submitting?</p>
<Text fw={600}>
Are you sure you want to close this form without submitting?
</Text>
<Button
classNames={{ root: classes.button }}
color="red"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
.title {
font-size: 1.2rem;
font-size: var(--mantine-font-size-xl);
font-weight: 600;
color: var(--mantine-color-red-6);
}

.button {
Expand Down

0 comments on commit 15febcf

Please sign in to comment.