nextcloud / nextcloud/cookbook

Printing extra rubbish that messes with scaling

Open
#2,580 5 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug dependent
Dominant language
HTML
Stars
641
Forks
113
Avg merge
21h 31m
Merged PRs (30d)
26

Description

Description
Prints rubbish in the top right hand corner of the page which shrinks the recipe for "proper scaling"
Image

Reproduction
Click print option from drop down box in the top right.
Refer image above with extra stuff top right

Expected behavior
For it not to have that, and scale properly
Image

I've also circled the section with prep/cooking/total time, which is absolutely massive, and functionally adds an extra page to the recipe. Could this please be shrunk, along with the image to be something smaller and more practical, to better get the whole recipe on the one page.


Depends on #1244

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the print option in the top-right dropdown and inspect the page layout used for printing. Reproduce the issue with a recipe that includes the prep, cooking, and total-time section, then verify that the unwanted top-right content is absent and the recipe image and timing section are sized to avoid unnecessary pagination.

Written by the indexing model from the issue text.

Assessment

Tech stack
html
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.