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 1925ea6 + 01a9152 commit d593250
Showing 1 changed file with 4 additions and 0 deletions.
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 d593250

Please sign in to comment.