Merge pull request #3717 from alphagov/fix-nesting-in-content-page-sub-nav

Fix nesting in content page sub nav
This commit is contained in:
Tom Byers
2020-12-01 11:08:46 +00:00
committed by GitHub
2 changed files with 27 additions and 6 deletions

View File

@@ -179,6 +179,12 @@
list-style: none;
padding: 0;
margin: 0;
ol,
ul {
margin-top: govuk-spacing(2);
border-top: 1px $grey-3 solid;
}
}
&__item {
@@ -199,6 +205,11 @@
ol ol & {
padding-left: govuk-spacing(6);
&:last-of-type {
border-bottom: none;
padding-bottom: 0;
}
}
}