You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 18, 2024. It is now read-only.
E.g., ms-margin and ms-margin-left don't look consistent in the default behavior.
// This one will produce LTR margins by default even when dir=... is not present in the page
@mixin ms-margin($top, $right, $bottom, $left) {
margin: $top $right $bottom $left;
@include ms-RTL {
margin: $top $left $bottom $right;
}
}
// This one will not produce any margin if dir=... is not explicitly specified in page
@mixin ms-margin-left($distance) {
@include ms-LTR {
margin-left: $distance;
}
@include ms-RTL {
margin-right: $distance;
}
}
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Looks like the some of the LTR mixins in the following file don't work by default?
(e.g., when there is no dir="ltr" attribute in the DOM explicitly).
Should LTR be treated as default if the attribute is absent?
Is this by design?
https://github.com/OfficeDev/office-ui-fabric-core/blob/master/src/sass/mixins/_Directionality.Mixins.scss
E.g., ms-margin and ms-margin-left don't look consistent in the default behavior.
The text was updated successfully, but these errors were encountered: