Skip to content

Commit

Permalink
fix(@clayui/alert): Use flex baseline for alert icon
Browse files Browse the repository at this point in the history
  • Loading branch information
Beltran Rengifo committed Jul 5, 2022
1 parent e8eac1a commit 9d6b75a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/clay-alert/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,11 @@ const ClayAlert: React.FunctionComponent<IClayAlertProps> & {
role="alert"
>
<ConditionalContainer>
<ClayLayout.ContentRow className="alert-autofit-row">
<ClayLayout.ContentRow
className={classNames('alert-autofit-row', {
'align-items-baseline': variant !== 'feedback',
})}
>
{!VARIANTS.includes(variant as string) && (
<ClayLayout.ContentCol>
<ClayLayout.ContentSection>
Expand Down

0 comments on commit 9d6b75a

Please sign in to comment.