question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How to remove NbAuthComponent header?

See original GitHub issue

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 without modifying the node_modules/?

NbAuthComponent

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:9 (1 by maintainers)

github_iconTop GitHub Comments

7reactions
ahv1365commented, Jul 7, 2020

try this, add in component.scss:

::ng-deep .nb-theme-default nb-card-header { display: none !important; }

1reaction
RronKurtishicommented, Sep 16, 2021

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):

::ng-deep nb-auth nb-card-header {
  display: none !important;
}
Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found