Closed jvillarreal-kpmg closed 9 years ago
@jvillarreal-kpmg , I did some testing of this PR's branch (http://ec2-52-1-174-71.compute-1.amazonaws.com:8888/origin/bug/layout-issues/) and noticed this on Android phone Chrome:
I tested on iPad mini, iPhone, Chrome desktop, and Firefox desktop and I think the layout changes look ok there.
The last update @jvillarreal-kpmg made fixes the Android Chrome problem I described earlier.
Fixes layout issues:
There are some important rules for Material in order to make the layout work in different browsers:
Rules in Chrome:
<body>
to havelayout="column"
and [layout-fill
orflex
]. Otherwise is not going to respectmd-content
scroll regions:div
with usage oflayout-fill
like this:If that appears it won't use the entire space for any child with
flex
. It won't be able to center items.Rules in Firefox:
md-content
that requires scrolling, parents that containlayout="column"
andflex
must bemd-content
and notdiv
. Otherwise it won't use the entire space for any child withflex
. It won't center items and tabs will not take full space.