Skip to content

Commit 1b50a47

Browse files
OS-jacobbellShaneK
andauthored
Apply suggestion from @ShaneK
Co-authored-by: Shane <shane.king@outsystems.com>
1 parent 666b48e commit 1b50a47

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎docs/component-guide.md‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -803,9 +803,11 @@ This would output `transform-origin: left center` in LTR mode and `transform-ori
803803
804804
These mixins depend on the `:host-context` pseudo-class when used inside of shadow components, which is not supported in WebKit. As a result, these mixins will not work in Safari for macOS and iOS when applied to shadow components.
805805
806-
To work around this, you should set an RTL class on the host of your component:
806+
To work around this, you should set an RTL class on the host of your component and set your RTL styles by targeting that class:
807807
808808
```tsx
809+
import { isRTL } from '@utils/rtl';
810+
809811
<Host
810812
class={{
811813
'my-cmp-rtl': isRTL(this.el)

0 commit comments

Comments
 (0)