Skip to content

Commit

Permalink
fix: markup for content of custom alert
Browse files Browse the repository at this point in the history
  • Loading branch information
t.chigvintseva committed Jun 13, 2024
1 parent 95b7624 commit f1f82ca
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/desktop/src/main/ts/custom-alert/CustomAlert.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ export const CustomAlert: FC<CustomAlertProps> = ({
pl={6}
pr={onHide !== undefined ? 18 : 6}
>
{icon && <FlexItem mr={3}>{icon}</FlexItem>}
<FlexItem>
{icon && <FlexItem display="flex" mr={3}>{icon}</FlexItem>}
<FlexItem display="flex" grow={1}>
{children}
</FlexItem>
{onHide !== undefined ? (
Expand Down
4 changes: 2 additions & 2 deletions packages/mobile/src/main/ts/custom-alert/CustomAlert.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ export const CustomAlert: FC<CustomAlertProps> = ({
pl={4}
pr={onHide !== undefined ? 14 : 4}
>
{icon && <FlexItem mr={2}>{icon}</FlexItem>}
<FlexItem my="2px">
{icon && <FlexItem display="flex" mr={2}>{icon}</FlexItem>}
<FlexItem display="flex" my="2px">
{children}
</FlexItem>
{onHide !== undefined ? (
Expand Down

0 comments on commit f1f82ca

Please sign in to comment.