Skip to content

Commit

Permalink
Merge pull request #889 from mikemonteith/bugfix/card-icon-vertical-a…
Browse files Browse the repository at this point in the history
…lignment

Fix invalid scss
  • Loading branch information
mcheung-nhs authored Sep 8, 2023
2 parents 829d04d + 970a25c commit d9abd95
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# NHS.UK frontend Changelog

:wrench: **Fixes**

- Fix vertical alignment of primary card icon

## 7.1.0 - 21 August 2023

:new: **New features**
Expand Down
2 changes: 1 addition & 1 deletion packages/components/card/card.scss
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ $card-border-hover-color: $color_nhsuk-grey-3;
.nhsuk-icon {
display: block;
fill: $color_nhsuk-blue;
margin-top: -nhsuk-spacing(2);
margin-top: -(nhsuk-spacing(2));
position: absolute;
right: nhsuk-spacing(4);
top: 50%;
Expand Down

0 comments on commit d9abd95

Please sign in to comment.