Angular 5 Mat-grid list responsive

后端 未结 6 1688
灰色年华
灰色年华 2021-01-30 03:08

i created grid list with column 6 and i want to be grid title take 100% width on small screen devices. Now it creates 6 column on small screens as well

Expected: One gri

6条回答
  •  孤城傲影
    2021-01-30 03:43

    Great work everybody!

    I made some further improvements to Алексей Сердюков's Answer:

    • updated for flex-layout 7.0.0+
    • when resizing the window, the directive under some circumstances returned the wrong count

    Gist @ GitHub: https://gist.github.com/mzellho/7fc7d5bd52a29948c47911a993547dad

提交回复
热议问题