javascript - Material Angular md-cotent don't get 100% of height -


i have problem @ height of md-content. app has ng-view , 100% of page, md-content don't 100% of parent. result:

<ng-view flex class="md-padding">  <md-content flex> foo </md-content> </ng-view> 

i try put style="height: 100%" not work. i've tried issues found solved problem.

enter image description here

you need add layout ng-view, , make sure parents fill 100% height:

<ng-view flex layout="column" class="md-padding">  <md-content flex> foo </md-content> </ng-view> 

Comments

Popular posts from this blog

javascript - oscilloscope of speaker input stops rendering after a few seconds -

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -