Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

feat(layout, print): add support for -print media queries with Layout API #6923

Merged
merged 3 commits into from
Jan 30, 2016

Conversation

ThomasBurleson
Copy link
Contributor

This adds support for print in the presence of the Layout API: controlling flex and layout attributes when printing. Previously printing would use your layout for the -sm breakpoint. Now you can printing will support attributes like layout="row" or flex-offset-xl="2", hide-print, show-print-gt-sm, etc.

  • added support for Layout API with print
  • updated docs to support printing of demos with sideNav
  • update build to deploy angular-material.print.css: the full Layout API with print media queries

thx @epelc.
refs #6784.

support layout and flex attributes

* remove superfluous use of `screen and` in mediaQueries
* also support `hide-print` to hide elements when printing
* update docs to hide sideNav when printing
* update docs to use white background colors for demos
* support Layout API usages with print-xx suffices; which enabled component printing at the specified breakpoint range.
@ThomasBurleson
Copy link
Contributor Author

@robertmesserle, @topherfangio - can you review please.

@ThomasBurleson ThomasBurleson added this to the 1.1.0 milestone Jan 30, 2016
@ThomasBurleson ThomasBurleson added P1: urgent Urgent issues that should be addressed in the next minor or patch release. type: enhancement ui: flexbox type: docs labels Jan 30, 2016
@ThomasBurleson ThomasBurleson self-assigned this Jan 30, 2016
@ThomasBurleson ThomasBurleson merged commit 00152a2 into master Jan 30, 2016
@ThomasBurleson
Copy link
Contributor Author

Merged by accident. Please continue review.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
P1: urgent Urgent issues that should be addressed in the next minor or patch release. type: docs type: enhancement ui: flexbox
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant