forked from angular/material
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(layout, flexbox): longhand workarounds, flex-order, interpolated …
…values * apply flexbox workarounds per [Flexbox Workarounds](https:/philipwalton/flexbugs#3-min-height-on-a-flex-container-wont-apply-to-its-flex-items): use flex longhand notations with workarounds * add support for flex="1", flex="auto", and flex * add references to online specs/resources * fix flex-33 and flex-67 max-width and max-heights * fix layout-align to use max-width * layout-fill should use height:100% * allow flex-order to be negative * add support to observe interpolated layout values. * restore max-width for layouts * restore `layout > flex` specifiers of max-width or max-height. * publish `$$mdLayout` service to allow Attribute selectors to be removed when the translation inject to Class selector finishes. According to CSS Flexible Box Layout Module Level 1 and CSS Values and Units Module Level 3, the order property can be negative, -9 to -1, as well as positive, 1 to 9, and zero. Fixes angular#4729. Fixes angular#4616. Fixes angular#4520. Fixes angular#4482. Close angular#3376. Closes angular#4592. > Thx @flowersinthesand for original PR
- Loading branch information
1 parent
12f6e59
commit 8726e0b
Showing
3 changed files
with
149 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.