Skip to content

Commit

Permalink
Remove metadata component style override
Browse files Browse the repository at this point in the history
- and replace with new option from the component
- inverse option for metadata automatically had extra spacing around it, this was being removed by this style override
- can be seen on pages such as https://www.gov.uk/guidance/the-highway-code
  • Loading branch information
andysellick committed Oct 30, 2023
1 parent 4511b94 commit 369edda
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
9 changes: 0 additions & 9 deletions app/assets/stylesheets/views/_manual.scss
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,6 @@
&.hmrc {
background: govuk-organisation-colour("hm-revenue-customs");
}

.gem-c-metadata--inverse {
background: none;
padding: 0;

.gem-c-metadata__list {
margin: 0;
}
}
}

.section-list {
Expand Down
1 change: 1 addition & 0 deletions app/presenters/content_item/manual.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ def manual_metadata
first_published: published,
other: other_metadata,
inverse: true,
inverse_compress: true,
}
end

Expand Down

0 comments on commit 369edda

Please sign in to comment.