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

Remove print-specific img max-width:100%; style so that Google Maps etc. print correctly #19000

Merged
merged 1 commit into from
Jan 24, 2016

Conversation

cvrebert
Copy link
Collaborator

mdo added a commit that referenced this pull request Jan 24, 2016
Remove print-specific img max-width:100%; style so that Google Maps etc. print correctly
@mdo mdo merged commit fa0e68e into v4-dev Jan 24, 2016
@mdo mdo added this to the v4.0.0-alpha.3 milestone Jan 24, 2016
@mdo mdo deleted the print-img-max-width-100-hell branch January 24, 2016 04:37
@mdo mdo mentioned this pull request Jan 24, 2016
@mdo
Copy link
Member

mdo commented Jan 24, 2016

<3

rdlugosz added a commit to rdlugosz/html5-boilerplate that referenced this pull request Aug 9, 2016
Following the lead of Twitter Bootstrap (see: twbs/bootstrap#19000), remove the print media query that sets a max-width of 100% to images. This code was meant to prevent images from being cut off in print, but has a side effect of causing map tiles to disappear when printing medium-to-large maps (e.g., with Google Maps).

For reference, this style was added to H5BP in h5bp@b2faa1f
roblarsen pushed a commit to h5bp/html5-boilerplate that referenced this pull request Aug 15, 2016
Following the lead of Twitter Bootstrap (see: twbs/bootstrap#19000), remove the print media query that sets a max-width of 100% to images. This code was meant to prevent images from being cut off in print, but has a side effect of causing map tiles to disappear when printing medium-to-large maps (e.g., with Google Maps).

For reference, this style was added to H5BP in b2faa1f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants