Skip to content

Commit

Permalink
[ref nhsuk#662] Ensure back link icon is in line with text
Browse files Browse the repository at this point in the history
Ensures the back link chevron-left icon is vertically aligned with the
text at all font sizes.
  • Loading branch information
pufferfish101007 committed Feb 5, 2024
1 parent 01d90c7 commit 5e59254
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/components/back-link/_back-link.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@
height: 24px;
left: -8px; /* 2 */
position: absolute;
top: -1px; /* 3 */
margin: auto; /* 3 */
top: 0; /* 3 */
bottom: 0; /* 3 */
width: 24px;
}

Expand Down

0 comments on commit 5e59254

Please sign in to comment.