Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve print styles for right-to-left (RTL) content #3835

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

matthillco
Copy link
Contributor

@matthillco matthillco commented Nov 4, 2024

What

  • Remove all inherited padding from the document navigation list.
  • Force world_location_news layout to print full width.

This is part of the work to improve print styles more generally. Trello

Note: This is a dependency of alphagov/government-frontend#3404

Why

  • The component is indented incorrectly for RTL languages.
  • Reduces page waste and improves the printed layout.

Document Navigation List padding

Before After
image image

Full width layouts

Before After
image image

@govuk-ci govuk-ci temporarily deployed to collections-pr-3835 November 4, 2024 16:53 Inactive
@matthillco matthillco changed the title Improve print styles for page templates and better RTL printing Improve print styles for right-to-left (RTL) content Nov 4, 2024
@matthillco matthillco marked this pull request as draft November 5, 2024 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants