Skip to content

Commit

Permalink
Fix organisation logo size when printing
Browse files Browse the repository at this point in the history
The organisation logo is unconstrained when printing - so if a large image
is used it'll be printed out large. This quick fix constrains the logo when
printing to be no more than the width of the page.
  • Loading branch information
injms committed Oct 18, 2021
1 parent 801707e commit ce117b0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
useful summary for people upgrading their application, not a replication
of the commit log.

## Unreleased

* Fix organisation logo size when printing ([PR #2371](https://github.com/alphagov/govuk_publishing_components/pull/2371)) PATCH

## 27.8.0

* Remove Coronavirus priority taxons ([PR #2357](https://github.com/alphagov/govuk_publishing_components/pull/2357))
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.gem-c-organisation-logo__image {
max-width: 100%;
}

0 comments on commit ce117b0

Please sign in to comment.