Skip to content

Commit

Permalink
Add a 20px margin on the sticky contents
Browse files Browse the repository at this point in the history
Add a margin to the top of the contents list on service manual guides so
it isn't too high up the page when scrolling
  • Loading branch information
beccapearce committed Apr 5, 2024
1 parent 271654f commit f730556
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/assets/stylesheets/modules/_sticky.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.app-sticky-element {
@include govuk-media-query($from: tablet) {
position: sticky;
top: 0;
top: govuk-spacing(4);
}
}

0 comments on commit f730556

Please sign in to comment.