I have modified the style of the ng-sidebar with a custom width. Upon Logout, I am switching the sidebar visible boolean variable to false and navigating back to login page again.
In this scenario, the left padding of the sidebar remains, taking up space on the login page and shifting everything to the right. Seems like the action which sets the padding to 0 does not fire.
I have modified the style of the ng-sidebar with a custom width. Upon Logout, I am switching the sidebar visible boolean variable to false and navigating back to login page again. In this scenario, the left padding of the sidebar remains, taking up space on the login page and shifting everything to the right. Seems like the action which sets the padding to 0 does not fire.
app.component.ts
global style applied in styles.css
app.component.html