@mapbox/assembly 1.9.1 → 1.9.2

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": "@mapbox/assembly",
3
- "version": "1.9.1",
3
+ "version": "1.9.2",
4
4
  "description": "A CSS framework",
5
5
  "main": "index.js",
6
6
  "files": [
package/src/layout.css CHANGED
@@ -163,13 +163,18 @@
163
163
  */
164
164
 
165
165
  /**
166
- * Set `auto` margins on left and right. This pattern is useful for horizontally centering block elements.
166
+ * Set `auto` margins on left and right. This pattern is useful for horizontally centering block elements
167
+ * or aligning block elements to the start or end of their container.
167
168
  *
168
169
  * @example
169
170
  * <div class='mx-auto w60 bg-darken10'>mx-auto</div>
171
+ * <div class='ml-auto w60 bg-darken10'>ml-auto</div>
172
+ * <div class='mr-auto w60 bg-darken10'>mr-auto</div>
170
173
  * @memberof Margins
171
174
  */
172
175
  .mx-auto { margin-left: auto !important; margin-right: auto !important; }
176
+ .ml-auto { margin-left: auto !important; }
177
+ .mr-auto { margin-right: auto !important; }
173
178
 
174
179
  /**
175
180
  * All padding classes fit the following pattern: `m<side><size>`.