Skip to content
This repository has been archived by the owner on Jan 6, 2025. It is now read-only.

fix(breakpoints): support print media #367

Merged
merged 1 commit into from
Aug 7, 2017
Merged

fix(breakpoints): support print media #367

merged 1 commit into from
Aug 7, 2017

Conversation

ThomasBurleson
Copy link
Contributor

Previous breakpoints defined mediaQueries like screen and (max-width: 599px). This means that
all responsive layouts (using .xs, .sm, etc.) will not print properly since @media print is excluded
by the screen and ... breakpoint definitions.

Remove all screen and @media prefixes; so the layouts will appear the same on both display and print devices.

Fixes #361.

Previous breakpoints defined mediaQueries like `screen and (max-width: 599px)`. This means that
all responsive layouts (using .xs, .sm, etc.) will not print properly since `@media print` is excluded
by the `screen and ...` breakpoint definitions.

Remove all `screen and ` @media prefixes; so the layouts will appear the same on both display and print devices.

Fixes #361.
@ThomasBurleson ThomasBurleson added this to the v2.0.0-beta.9 milestone Aug 7, 2017
@ThomasBurleson ThomasBurleson added pr: lgtm This PR has been approved by the reviewer pr: needs presubmit labels Aug 7, 2017
@ThomasBurleson
Copy link
Contributor Author

@mmalerba - this actually passed on Travis... not sure why it is show failed when it all passed.

https://travis-ci.org/angular/flex-layout/builds/261842949?utm_source=github_status&utm_medium=notification

@mmalerba mmalerba merged commit 37a0b85 into master Aug 7, 2017
@ThomasBurleson ThomasBurleson deleted the thomas/issue-361 branch August 7, 2017 22:35
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cla: yes pr: lgtm This PR has been approved by the reviewer pr: needs presubmit
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Print media support needed
3 participants