Skip to content
This repository has been archived by the owner on Jun 1, 2023. It is now read-only.

Commit

Permalink
Merge pull request #24 from BrightspaceUI/replace-dir
Browse files Browse the repository at this point in the history
Replace unsupported :host-context with :dir
  • Loading branch information
awikkerink authored Jun 12, 2017
2 parents acc104f + 1fb9e4e commit a85077f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion d2l-offscreen-shared-styles.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
left: -10000px;
};
}
:host-context([dir="rtl"]) {
:host(:dir(rtl)) {
--d2l-offscreen: {
position: absolute !important;
overflow: hidden;
Expand Down
2 changes: 1 addition & 1 deletion demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<d2l-demo-template title="d2l-offscreen">

<div slot="d2l-demo-fixture">
Some offscreen content: <d2l-offscreen>this should be offscreen</d2l-offscreen>
Some offscreen content: <d2l-offscreen>this should be offscreen</d2l-offscreen><d2l-offscreen>this should be offscreen</d2l-offscreen>
</div>

</d2l-demo-template>
Expand Down

0 comments on commit a85077f

Please sign in to comment.