Skip to content

Commit

Permalink
Added alert style fix
Browse files Browse the repository at this point in the history
  • Loading branch information
benjest85 committed Jul 11, 2024
1 parent c02d94c commit ad7bb37
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions components/alert/assets/Alert.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,8 @@
@include govuk-font(24, 'bold');
@include govuk-responsive-margin(3, "bottom");
}

a{
font-weight: bold;
}
}
4 changes: 2 additions & 2 deletions components/alert/spec/Alert.stories.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ Use the green version of the alert to confirm that something they’re expecting
<Preview>
<Story name="Success">
<Alert heading="Payment successful" classModifiers="success">
We've sent details to test-email@test-corp.co.uk <br /><strong><a href="#">Download confirmation</a></strong>
We've sent details to test-email@test-corp.co.uk <br /><a href="#">Download confirmation</a>
</Alert>
</Story>
</Preview>
Expand All @@ -64,7 +64,7 @@ Use the red version of the alert to confirm that something has gone wrong.
<Preview>
<Story name="Error">
<Alert heading="Payment unsuccessful" classModifiers="error">
Please try again or contact our <strong><a href="#">support team</a></strong> for assistance.
Please try again or contact our <a href="#">support team</a> for assistance.
</Alert>
</Story>
</Preview>
Expand Down

0 comments on commit ad7bb37

Please # to comment.