diff --git a/docs/articles/rtl.md b/docs/articles/rtl.md index 21dc26e321..4c77d9ea60 100644 --- a/docs/articles/rtl.md +++ b/docs/articles/rtl.md @@ -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; }; }