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

Us 57860 block print styles #761

Merged
merged 6 commits into from
Sep 6, 2024
Merged

Us 57860 block print styles #761

merged 6 commits into from
Sep 6, 2024

Conversation

sabrina-bongiovanni
Copy link
Collaborator

@sabrina-bongiovanni sabrina-bongiovanni commented Sep 5, 2024

US 57860
Fixed print styles for pages and blocks.
Generally tried to:

  • reduce paddings and margins which appear much larger in print
  • remove "read more" links and buttons, pagination, and other interactive elements which are useless on a printed page
  • reduce font-sizes when excessive
  • avoid page break inside cards or blocks. This hasn't always been possible but tried to apply it as much as possible. If the choice was to divide block title and block content OR the cards of the block, I always preferred to divide the title from the rest of the block.
  • render all blocks as vertical lists instead of cards on a horizontal axis

@pnicolli pnicolli merged commit 131931e into main Sep 6, 2024
5 checks passed
@pnicolli pnicolli deleted the us_57860_block_print_styles branch September 6, 2024 09:49
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.

3 participants