Can't get angular-material md-sidenav to be 100% height

前端 未结 6 811
后悔当初
后悔当初 2020-12-29 01:37

I\'m making a new angular2 application using angular2-material with a sidenav. And I can\'t for the life of me get that sidenav to have a height of 100%. I\'m trying to ge

6条回答
  •  失恋的感觉
    2020-12-29 02:17

    You can also set mad-sidenav-content's min-height to be 100vh like so:

    ....

    Where:

    .sidenav__content--height{
      min-height: 100vh;
    }
    

提交回复
热议问题