TwanoO67 / bootstraping-ngx-admin-lte

Angular2,4,6 project with AdminLTE dashboard template (using angular, angular-cli and ngx-admin-lte ) Formerly called 'ng2-admin-lte'.
463 stars 220 forks source link

How can I fix heigth of main screen after loading? #60

Closed boskiv closed 7 years ago

boskiv commented 7 years ago

screenshot from 2016-12-26 13-22-23

boskiv commented 7 years ago

when I checkout and then check in on height:100% in browser inspection, it fit right.

TwanoO67 commented 7 years ago

Yep I see the problem too, but I don't know where the problem is.

Normally the javascript of AdminLTE would react to the resize of the page, but with angular, there's resizing that don't "pop" these event. So to fix that, I simulate a resize event, with that line 35 ( https://github.com/TwanoO67/ng2-admin-lte/blob/master/src/app/app.component.ts ) It was well working, but since we have the authO connection i'ts not working anymore. I suppose that those event triggering should be called later in the loading, but I don't know where at the moment

TwanoO67 commented 7 years ago

Seems fixed since the removal of Auth0 login