@microsoft/atlas-css 3.38.1 → 3.39.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@microsoft/atlas-css",
3
- "version": "3.38.1",
3
+ "version": "3.39.0",
4
4
  "description": "Styles backing the Atlas Design System used by Microsoft's Developer Relations.",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1",
@@ -137,4 +137,19 @@ $hero-image-width-widescreen: calc((100% - 2 * $layout-widescreen-gap) * 0.55) !
137
137
  --hero-background-image: none;
138
138
  }
139
139
  }
140
+
141
+ // Set direction to prevent image flip for rtl
142
+
143
+ &.hero-image:dir(rtl) {
144
+ direction: ltr;
145
+
146
+ .hero-content {
147
+ direction: rtl;
148
+
149
+ @include desktop {
150
+ padding-inline-end: unset;
151
+ padding-inline-start: $hero-padding-sm;
152
+ }
153
+ }
154
+ }
140
155
  }