Skip to content

Commit

Permalink
Improve print styles for govspeak callouts
Browse files Browse the repository at this point in the history
This fixes the margin for info notice so text is centered. Removes the
border for help and info notices as it disrupts the existing styling.
Add padding for call to action boxes to improve readability of text and
removes the grey background to prevent wasted ink when printing.
  • Loading branch information
theseanything committed Jun 24, 2020
1 parent c934dcd commit 1c3ce54
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
## Unreleased

* Hide services cookie banner when JavaScript is disabled ([PR #1586](https://github.com/alphagov/govuk_publishing_components/pull/1586))
* Improve print styles for govspeak info, help and call to action callouts ([PR #1588](https://github.com/alphagov/govuk_publishing_components/pull/1588) )

## 21.56.2

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,12 @@
.help-notice,
.call-to-action {
margin: govuk-spacing(3) 0;
padding: 0 govuk-spacing(3);
}

.call-to-action {
background: none;
border: 1pt solid $govuk-border-colour;
padding: govuk-spacing(3);
}

.help-notice p {
Expand Down

0 comments on commit 1c3ce54

Please sign in to comment.