RTL not working
- Vorherrschende Sprache
- TypeScript
- Sterne
- 25.7k
- Forks
- 7.9k
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
### 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 {
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**
```
```
**Angular, Nebular**
```
```
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.