Skip to content

Full width printability, an idea... #14328

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

Closed
DenverDias opened this issue Aug 5, 2014 · 2 comments
Closed

Full width printability, an idea... #14328

DenverDias opened this issue Aug 5, 2014 · 2 comments

Comments

@DenverDias
Copy link

For bootstrap implemented pages with sidebars, where the sidebar should be prevented from being printable using "hidden-print" sure hides all of the sidebar stuff.

Chrome seems to be able to handle it pretty well by printing as if the page were under 768 wide (for bootstrap, in the "sm" range) thus making sure that a right sidebar with a "hidden print col-md-*" set of classes would properly disappear in the print output. However, Safari (and maybe some other browsers, I've not tested it on the other) doesn't play well; printing such a page will leave a massive blank area where the sidebar was supposed to be. Reducing the width of the window would remedy the problem but that would have to be done by the user. It would be nice if bootstrap had a separate class (perhaps "print-fullwidth") that could be assigned to the div of the content intended to be printable, so that the content prints at full width unambiguously in all browsers without additional intervention from the user.

@cvrebert
Copy link
Collaborator

cvrebert commented Aug 5, 2014

Last time we checked (in #12078), Chrome uses the XS grid when printing on US Letter paper.

@mdo
Copy link
Member

mdo commented Aug 5, 2014

I don't think we'll be adding anything more to our print styles, in v3 or v4. Starts to get too specific honestly.

@mdo mdo closed this as completed Aug 5, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants