Skip to content

Commit

Permalink
comment breadcrumb chevron spacing magic numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
anandamaryon1 committed Sep 25, 2024
1 parent 3433ce7 commit 8fccb79
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions packages/components/breadcrumb/_breadcrumb.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
* 4. Typography sizing mixin, see core/tools/_typography
* 5. and core/settings/_typography for size maps.
* 5. .. but show a back to index page link.
* 6. Spacing to align the chevron with breadcrumb items
*/

.nhsuk-breadcrumb {
Expand Down Expand Up @@ -40,11 +41,11 @@
right 0 top 0 no-repeat;
content: "";
display: inline-block;
height: 19px;
margin-left: 10px;
margin-right: 2px;
vertical-align: middle;
width: 18px;
height: 19px; /* [6] */
margin-left: 9px; /* [6] */
margin-right: 2px; /* [6] */
vertical-align: middle; /* [6] */
width: 18px; /* [6] */
}
}

Expand Down

0 comments on commit 8fccb79

Please sign in to comment.