Skip to content

Commit

Permalink
fix visual bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Joe Reuter committed Feb 6, 2023
1 parent e6441bf commit 09d730a
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from "react";
import { FormattedMessage } from "react-intl";

import { Callout } from "components/ui/Callout";
import { FlexContainer } from "components/ui/Flex";
import { FlexContainer, FlexItem } from "components/ui/Flex";
import { StatusIcon } from "components/ui/StatusIcon";
import { Text } from "components/ui/Text";

Expand All @@ -12,7 +12,9 @@ const ErrorSection: React.FC<{
}> = ({ errorMessage, errorTitle }) => (
<Callout variant="error">
<FlexContainer alignItems="flex-start" gap="sm">
<StatusIcon />
<FlexItem>
<StatusIcon />
</FlexItem>
<FlexContainer direction="column">
<Text size="lg">{errorTitle}</Text>
<Text>{errorMessage}</Text>
Expand Down

0 comments on commit 09d730a

Please sign in to comment.