# HG changeset patch # User Lucas Thompson # Date 1480420705 0 # Node ID 85c741b8130cc0541cee758d56687e1749c37a0d # Parent a50f0b7a3da36af3a949664786793f388f529b16 CSS hacks to vertically align contents of the sidenav centrally. diff -r a50f0b7a3da3 -r 85c741b8130c src/app/app.component.css --- a/src/app/app.component.css Tue Nov 29 11:02:44 2016 +0000 +++ b/src/app/app.component.css Tue Nov 29 11:58:25 2016 +0000 @@ -10,7 +10,10 @@ text-align: center; } -.md-tab-body { - background-color: black; +md-tab-group { + height: calc(100vh - 64px); /* height of window minus the toolbar height*/ } +md-tab-group >>> .md-tab-body-wrapper { + align-items: center; +}