Skip to content

Commit

Permalink
Center the chevron icon vertically
Browse files Browse the repository at this point in the history
Centers the chevron icon vertically to match the new card component design
  • Loading branch information
MartinJJones committed Aug 6, 2024
1 parent e251859 commit 55d6ec2
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,12 @@
border-right: $width solid $govuk-brand-colour;
border-top: $width solid $govuk-brand-colour;
content: "";
display: block;
height: $dimension;
position: absolute;
right: govuk-spacing(1);
top: govuk-spacing(3);
top: 50%;
margin-top: 5px;
@include prefixed-transform($rotate: 45deg);
width: $dimension;
}
Expand Down

0 comments on commit 55d6ec2

Please sign in to comment.