This repository was archived by the owner on Sep 5, 2024. It is now read-only.
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
Allow mdGridList to flex to fit the available area #2012
Closed
Description
This comes from the discussion here: https://groups.google.com/forum/#!topic/ngmaterial/Rq22sOFJOco
I wrote up a quick and dirty prototype for how it should behave here:
http://codepen.io/Splaktar/pen/zxyWYN
Full screen: http://codepen.io/Splaktar/full/zxyWYN/
The basic idea is to allow the mdGridList to fill up the available space, but not exceed it. I set the md-row-height ratio dynamically to make this happen.