nebular
nebular copied to clipboard
NbLayoutHeaderComponent set fixed=false also if subheader=false
Issue type
I'm submitting a ... (check one with "x")
- [ X ] bug report
- [ ] feature request
Issue description
Fixed is setted to false also if subheader=false
Current behavior:
set nb-layout-header in this way:
<nb-layout-header [fixed]="true" [subheader]="false">
Expected behavior:
NbLayoutHeaderComponent have to check subheader value before set to false fixed. Steps to reproduce:
Checkout ngx-admin and then add to @theme/layouts/components/one-column.layout.html
<nb-layout-header [fixed]="true" [subheader]="false">
Related code:
insert short code snippets here
Other information:
npm, node, OS, Browser
<!--
Node, npm: `node --version` and `npm --version`
OS: Windows (7/8/10). Linux (incl. distribution). macOS (El Capitan? Sierra?)
Browser: Chrome/Safari/Firefox/etc?
-->
Angular, Nebular
<!--
Check your `package-lock.json` or locate a `package.json` in the `node_modules` folder.
-->