Skip to content

Commit

Permalink
improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
Br2850 committed Oct 24, 2024
1 parent 90bd83b commit b70dcc2
Showing 1 changed file with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,12 @@ const ModalBase: React.FC<ModalBaseProps> = ({
id="modal-title"
variant="h5"
component="h5"
sx={{ textAlign: titleAlign, verticalAlign: "middle" }}
sx={{
textAlign: titleAlign,
display: "flex",
alignItems: "center",
gap: 1,
}}
>
{modal?.icon && (
<MuiIconFont
Expand All @@ -217,7 +222,7 @@ const ModalBase: React.FC<ModalBaseProps> = ({
>
{modal.icon}
</MuiIconFont>
)}{" "}
)}
{title}
</Typography>
<Typography
Expand Down

0 comments on commit b70dcc2

Please sign in to comment.