Skip to content

Commit

Permalink
fix(docs): add missing operator (#455)
Browse files Browse the repository at this point in the history
  • Loading branch information
lexzhukov authored and nnixaa committed May 28, 2018
1 parent c2e310d commit 1cb4993
Showing 1 changed file with 4 additions and 4 deletions.
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

0 comments on commit 1cb4993

Please sign in to comment.