Files
notifications-admin/app/assets/stylesheets/components/browse-list.scss
Katie Smith bc83ff6c09 Replace $gutter with govuk-spacing function
Replaced `$gutter` and similar variables such as `$gutter-half` with the
`govuk-spacing()` static spacing function. This uses `govuk-spacing()`
instead of `$govuk-gutter` because `$govuk-gutter` should only be used
for the gaps in between grid columns and we were mostly using `$gutter`
to add more space around elements.

There are other places in the SCSS files where we had hardcoded a
measurement in px which could be replaced with `govuk-spacing`, but this
commit only replaces the existing uses of `$gutter`.
2020-03-06 11:11:41 +00:00

29 lines
492 B
SCSS

.browse-list {
margin-bottom: govuk-spacing(3);
.browse-sub-list {
margin-top: govuk-spacing(3);
margin-left: govuk-spacing(6);
@include media('desktop') {
margin-left: govuk-spacing(9);
}
}
&-item,
&-sub-item {
@include bold-24;
list-style: none;
margin-bottom: govuk-spacing(3);
}
&-link {
@include govuk-font(24, $weight: bold);
}
&-hint {
@include core-19;
margin: 5px 0 10px 0;
color: $secondary-text-colour;
}
}