Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(docs): add missing operator #455

Merged
merged 1 commit into from
May 28, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions docs/articles/rtl.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,16 @@ Default value is `ltr`.
To help you add RTL support to your custom components, Nebular provides you with two scss mixins: `nb-lrt` and `nb-rtl`. You can use them to alter values of css properties, which don't support logical values, like paddings, margins, etc. You can pass single property and value as arguments, pass multiple statements as a content of mixin or both. For example:
```scss
:host {
nb-ltr(padding-left, 1em);
nb-rtl(padding-right, 1em);
@include nb-ltr(padding-left, 1em);
@include nb-rtl(padding-right, 1em);
}
```
```scss
:host {
nb-ltr() {
@include nb-ltr() {
padding-left: 1em;
};
nb-rtl() {
@include nb-rtl() {
padding-right: 1em;
};
}
Expand Down