Skip to content

Commit

Permalink
Standardise padding of cards with other blue boxes
Browse files Browse the repository at this point in the history
- makes the padding left/right on the card block match the same padding in the hero block text box, as they're both blue boxes with white text
  • Loading branch information
andysellick authored and leenagupte committed Oct 25, 2024
1 parent 05d9673 commit 9fade3e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app/assets/stylesheets/views/_landing_page/card.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,12 @@
}

.app-b-card__textbox {
padding: govuk-spacing(6) govuk-spacing(7);
padding: govuk-spacing(6);
color: govuk-colour("white");

@include govuk-media-query($until: tablet) {
padding: govuk-spacing(4);
}
}

.app-b-card__textbox-link {
Expand Down

0 comments on commit 9fade3e

Please sign in to comment.