Skip to content

Commit

Permalink
refactor(web/dialog): use fade transition
Browse files Browse the repository at this point in the history
  • Loading branch information
LukeWasTakenn committed Dec 31, 2022
1 parent 2a1e7ff commit f9ff2fe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions web/src/features/dialog/AlertDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ const AlertDialog: React.FC = () => {
withCloseButton={false}
overlayOpacity={0.5}
exitTransitionDuration={150}
transition="fade"
title={<ReactMarkdown>{dialogData.header}</ReactMarkdown>}
>
<Stack>
Expand Down
1 change: 1 addition & 0 deletions web/src/features/dialog/InputDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ const InputDialog: React.FC = () => {
title={fields.heading}
withCloseButton={false}
overlayOpacity={0.5}
transition="fade"
exitTransitionDuration={150}
>
<Stack>
Expand Down

0 comments on commit f9ff2fe

Please sign in to comment.