ngx-admin
ngx-admin copied to clipboard
RTL not working
Issue type
Styling
I'm submitting a ... (check one with "x")
- [x] bug report
- [ ] feature request
- [ ] question about the decisions made in the repository
Issue description
I have used NbThemeModule.forRoot() to change my app to Rtl but it doesn't make any changes. Current behavior: nothing happened
Expected behavior: change the dir attribute in tag its fixed to ltr
Steps to reproduce:
Related code:
insert short code snippets here
export class ThemeModule {
static forRoot(): ModuleWithProviders<ThemeModule> {
return {
ngModule: ThemeModule,
providers: [
...NbThemeModule.forRoot(
{
name: 'default',
},
[DEFAULT_THEME, COSMIC_THEME, CORPORATE_THEME, DARK_THEME],
null,
NbLayoutDirection.RTL
).providers,
],
};
}
}
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
<!--
"@nebular/auth": "5.0.0",
"@nebular/eva-icons": "5.0.0",
"@nebular/security": "5.0.0",
"@nebular/theme": "5.0.0",
-->