How to remove NbAuthComponent header?
See original GitHub issueI know that I can remove the nb-card-header from node_modules/@nebular/auth/components/auth.component.js
but it is possible to remove it without modifying the node_modules/?
Issue Analytics
- State:
- Created 5 years ago
- Comments:9 (1 by maintainers)
Top Results From Across the Web
How to remove NbAuthComponent header?
I know that I can remove the nb-card-header from node_modules/@nebular/auth/components/auth.component.js but it is possible to remove it ...
Read more >(ngx-admin/Nebular) How to remove back button on my ...
You need to open the template of your custom "NbAuthComponent" component, and remove the back button from "nb-card-header".
Read more >[Solved]-(ngx-admin/Nebular) How to remove back button ...
You need to open the template of your custom "NbAuthComponent" component, and remove the back button from "nb-card-header". That should help.
Read more >Layout Angular UI Component - Nebular - GitHub Pages
NbLayoutHeaderComponent ; header-text-color, text-basic-color, #222b45 ; header-text-font-family, text-paragraph-font-family, Open Sans, sans-serif ; header-text- ...
Read more >nebular/auth@10.0.0
NbAuthComponent,. typeof i2.NbAuthBlockComponent,. typeof i3.NbLoginComponent,. typeof i4.NbRegisterComponent,. typeof i5.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
try this, add in component.scss:
::ng-deep .nb-theme-default nb-card-header { display: none !important; }
That’s a very bad solution.
Because you are using
::ng-deep
, it will remove all headers for every subsequent card you encounter (unless you refresh). Also using.nb-theme-default
will only remove the headers for the default theme.To only remove the header for the auth module, you can do this (it will work for all themes):