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
Improve place-content wording by referencing the correct axis (#2358)
This PR fixes an issue where we were only using `block axis` in the
`place-content` property docs, but the `place-content` property works on
both the inline axis and the block axis.
This PR now references both the inline axis and block axis. This now
also talks about the difference between rows and columns because we only
talked about rows before.
Fixes: #2357
---------
Co-authored-by: Jordan Pittman <[email protected]>
Co-authored-by: Jordan Pittman <[email protected]>
Copy file name to clipboardExpand all lines: src/docs/place-content.mdx
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,7 @@ export const description = "Utilities for controlling how content is justified a
26
26
27
27
### Center
28
28
29
-
Use `place-content-center` to pack items in the center of the block axis:
29
+
Use `place-content-center` to pack items in the center of the inline and block axes:
30
30
31
31
<Figure>
32
32
@@ -58,7 +58,7 @@ Use `place-content-center` to pack items in the center of the block axis:
58
58
59
59
### Start
60
60
61
-
Use `place-content-start` to pack items against the start of the block axis:
61
+
Use `place-content-start` to pack items against the start of the inline and block axes:
62
62
63
63
<Figure>
64
64
@@ -90,7 +90,7 @@ Use `place-content-start` to pack items against the start of the block axis:
90
90
91
91
### End
92
92
93
-
Use `place-content-end` to pack items against the end of the block axis:
93
+
Use `place-content-end` to pack items against the end of the inline and block axes:
94
94
95
95
<Figure>
96
96
@@ -122,7 +122,7 @@ Use `place-content-end` to pack items against the end of the block axis:
122
122
123
123
### Space between
124
124
125
-
Use `place-content-between` to distribute grid items along the block axis so that there is an equal amount of space between each row on the block axis:
125
+
Use `place-content-between` to distribute grid items along the inline and block axes so that there is an equal amount of space between each row and column on each axis respectively:
126
126
127
127
<Figure>
128
128
@@ -154,7 +154,7 @@ Use `place-content-between` to distribute grid items along the block axis so tha
154
154
155
155
### Space around
156
156
157
-
Use `place-content-around` to distribute grid items such that there is an equal amount of space around each row on the block axis:
157
+
Use `place-content-around` to distribute grid items along the inline and block axes so that there is an equal amount of space around each row and column on each axis respectively:
158
158
159
159
<Figure>
160
160
@@ -186,7 +186,7 @@ Use `place-content-around` to distribute grid items such that there is an equal
186
186
187
187
### Space evenly
188
188
189
-
Use `place-content-evenly` to distribute grid items such that they are evenly spaced on the block axis:
189
+
Use `place-content-evenly` to distribute grid items such that they are evenly spaced on the inline and block axes:
190
190
191
191
<Figure>
192
192
@@ -218,7 +218,7 @@ Use `place-content-evenly` to distribute grid items such that they are evenly sp
218
218
219
219
### Stretch
220
220
221
-
Use `place-content-stretch` to stretch grid items along their grid areas on the block axis:
221
+
Use `place-content-stretch` to stretch grid items along their grid areas on the inline and block axes:
0 commit comments