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

Printed pages do not fill page width on high-dpi displays #88

Closed
rocketman768 opened this issue Sep 27, 2015 · 3 comments
Closed

Printed pages do not fill page width on high-dpi displays #88

rocketman768 opened this issue Sep 27, 2015 · 3 comments
Labels
Milestone

Comments

@rocketman768
Copy link
Member

I am using higher font DPI (150) since I have a large resolution.

printed_recipe

@rocketman768 rocketman768 modified the milestone: v2.3.0 Oct 5, 2015
@rocketman768 rocketman768 modified the milestones: v2.3.0, v2.4.0 Jan 3, 2016
@mikfire
Copy link
Contributor

mikfire commented Feb 16, 2016

I don't have a hi-res display , but I suspect this may be because css/recipe.css defines the width as 8.5in. I do all the rest as proportional widths. I did that, as I recall, because somebody wanted margins when they printed it.

Just for grins ( I cannot test this myself ), try increasing that to 10.5in, recompiling and see what happens.

@rocketman768
Copy link
Member Author

You can't change your DPI? I know this is possible on Windows and KDE.

@rocketman768
Copy link
Member Author

Something like

body{
   width: 90%;
   margin: auto auto auto auto;
}

seems to be somewhat close. The font sizes still need to be specified in em or pt or whatever doesn't get smaller with higher dpi.

mikfire pushed a commit to mikfire/brewtarget that referenced this issue Feb 17, 2016
Simply tweaking the CSS to use EM instead of px. I really can't test this, so
somebody with a highres display needs to test and make sure.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants