Skip to content

Commit

Permalink
fix: markup for content of custom alert (#592)
Browse files Browse the repository at this point in the history
Co-authored-by: t.chigvintseva <[email protected]>
  • Loading branch information
ttroshkina and t.chigvintseva authored Jun 13, 2024
1 parent 95b7624 commit 5a00ece
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 5a00ece

Please sign in to comment.