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 printed recipe layout #3441

Closed
AliveDevil opened this issue Dec 18, 2024 · 1 comment
Closed

Improve printed recipe layout #3441

AliveDevil opened this issue Dec 18, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@AliveDevil
Copy link
Contributor

AliveDevil commented Dec 18, 2024

Is your feature request related to a problem? Please describe.

When printing a recipe it is possible, that a step title and step instructions is broken up by page bounds.

Describe the solution you'd like

Step title and step content should be joined by "break-inside: avoid"

Describe alternatives you've considered

No response

Additional context

In app.min.css:

@media (print) {
  .recipe__step {
    break-inside: avoid;
  }
}

Or something like:

@media (print) {
  .step__name { break-after: avoid; }
  .step__details { break-before: avoid; }
}
@AliveDevil AliveDevil added the enhancement New feature or request label Dec 18, 2024
@vabene1111
Copy link
Collaborator

hi, thanks for the feedback, makes sense. As I am rewriting the frontend this will not be implemented in the old branch. #2976

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants