Skip to content

Commit

Permalink
Merge pull request #5332 from alphagov/footer-description-wrapping
Browse files Browse the repository at this point in the history
Improve how licence description wraps in the footer
  • Loading branch information
romaricpascal authored Oct 8, 2024
2 parents ea49ce0 + 83e0983 commit 548b62f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/govuk/components/footer/_index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,11 @@
}

.govuk-footer__licence-description {
// This makes the license description reflow under the logo when space gets too narrow
display: inline-block;
// This prevents the description from having orphans when space is narrow enough
// and makes the text reflow more nicely
text-wrap: balance;
}

.govuk-footer__copyright-logo {
Expand Down

0 comments on commit 548b62f

Please sign in to comment.