Skip to content

Commit

Permalink
fix(Alert): Minor fixes STC-306
Browse files Browse the repository at this point in the history
  • Loading branch information
giubatt committed Jul 21, 2021
1 parent ec4fad2 commit 2a65812
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/Alert/Alert.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export interface AlertProps {

color: string

position: "fixed" | "relative"
position?: "fixed" | "relative"
}

const Alert = ({
Expand Down Expand Up @@ -61,10 +61,10 @@ const Alert = ({
}
}
>
<span sx={{ width: 20, height: 20 }}>
<span sx={{ width: 20, height: 20, color: `${color}.40` }}>
{iconName ? <Icon name={iconName} /> : iconSVG ? iconSVG : ""}
</span>
<div>
<div sx={{ width: "100%" }}>
<h2 sx={{ variant: "text.heading2", margin: 0, paddingBottom: 3 }}>
{title}
</h2>
Expand Down

0 comments on commit 2a65812

Please sign in to comment.