Skip to content

Commit 6733224

Browse files
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]>
1 parent 2e04a04 commit 6733224

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/docs/place-content.mdx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export const description = "Utilities for controlling how content is justified a
2626

2727
### Center
2828

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:
3030

3131
<Figure>
3232

@@ -58,7 +58,7 @@ Use `place-content-center` to pack items in the center of the block axis:
5858

5959
### Start
6060

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:
6262

6363
<Figure>
6464

@@ -90,7 +90,7 @@ Use `place-content-start` to pack items against the start of the block axis:
9090

9191
### End
9292

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:
9494

9595
<Figure>
9696

@@ -122,7 +122,7 @@ Use `place-content-end` to pack items against the end of the block axis:
122122

123123
### Space between
124124

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:
126126

127127
<Figure>
128128

@@ -154,7 +154,7 @@ Use `place-content-between` to distribute grid items along the block axis so tha
154154

155155
### Space around
156156

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:
158158

159159
<Figure>
160160

@@ -186,7 +186,7 @@ Use `place-content-around` to distribute grid items such that there is an equal
186186

187187
### Space evenly
188188

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:
190190

191191
<Figure>
192192

@@ -218,7 +218,7 @@ Use `place-content-evenly` to distribute grid items such that they are evenly sp
218218

219219
### Stretch
220220

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:
222222

223223
<Figure>
224224

0 commit comments

Comments
 (0)