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 #21 from BrightspaceUI/Another_RTL_Fix
Browse files Browse the repository at this point in the history
Simplify mixins to not build dynamically
  • Loading branch information
capajon authored Dec 21, 2016
2 parents 331a301 + e332ca3 commit 79e17ec
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions d2l-offscreen-shared-styles.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,22 @@
<template>
<style>
:host {
--d2l-offscreen-ltr-rtl-shared: {
--d2l-offscreen: {
position: absolute !important;
overflow: hidden;
width: 1px;
height: 1px;
white-space: nowrap;
}
--d2l-offscreen: {
@apply(--d2l-offscreen-ltr-rtl-shared);
left: -10000px;
};
}
:host-context([dir="rtl"]) {
--d2l-offscreen: {
@apply(--d2l-offscreen-ltr-rtl-shared);
position: absolute !important;
overflow: hidden;
width: 1px;
height: 1px;
white-space: nowrap;
right: -10000px;
};
}
Expand Down

0 comments on commit 79e17ec

Please sign in to comment.