I would like to have the footer full screen width, rather than the width of the contents section (screen width - sidebar width). Is there any way to do this?
I am using Nebular to build my app.
I couldn't find any option in Nebular docs to do this. So I tried extending the nbLayoutComponent, named it customNgLayoutComponent, and customized it to my desired template layout and used it wherever nb-layout is used. I am not sure this is the right way of customizing a component from a library.
I basically copied the original template of the nbLayoutComponent from the source https://github.com/akveo/nebular/blob/master/src/framework/theme/components/layout/layout.component.ts and tweaked it a little (placed <ng-content select="nb-layout-footer"></ng-content>
in layout div instead of content div).
I am expecting the component template to be overridden with my custom template. But it does not work. Is this how you override the template of a component from a library? Do I have to also copy all the functions in nbLayoutComponent to make my customNbLayout work?