Skip to content

Commit

Permalink
Merge pull request #604 from LifeSG/align-alert-contents
Browse files Browse the repository at this point in the history
[MISC][NT] Aligned icons and copy for alert component with icon variant
  • Loading branch information
qroll authored Nov 4, 2024
2 parents 0608310 + 140fdea commit aa8a7ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/alert/alert.style.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,15 +76,15 @@ export const Wrapper = styled.div<StyleProps>`
`;

export const AlertIconWrapper = styled.div<StyleProps>`
display: flex;
margin-right: 0.5rem;
// adds extra spacing to align the small icon with text
${(props) =>
props.$sizeType === "small" &&
css`
display: flex;
align-items: center;
height: 1.625rem;
height: 1lh;
`}
${(props) => {
Expand Down

0 comments on commit aa8a7ee

Please sign in to comment.