Skip to content

Commit

Permalink
Ensure the featured heading is styled correctly on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinJJones committed Sep 22, 2023
1 parent 5d8bdbd commit 4363b40
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions app/assets/stylesheets/views/_homepage.scss
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,16 @@
.homepage-section--promotion-slots {
padding-top: govuk-spacing(6);

@include govuk-media-query($until: "desktop") {
.gem-c-heading {
border-top-style: solid;
border-top-width: 2px;
border-top-color: $govuk-text-colour;
margin: 0 0 govuk-spacing(6);
padding: govuk-spacing(3) 0 0;
}
}

// temp style overrides, will need to update the image-card component in the gem
// so these can be removed
.gem-c-image-card {
Expand Down

0 comments on commit 4363b40

Please sign in to comment.