Skip to content

Commit 30bb9fa

Browse files
[css-grid-1][css-grid-2] Set min-height for ex 39 (w3c#6214)
Set the `min-height` property for the `.grid` class to make the `align-content: center;` work much more clear. `align-content: center;` has no sense if we run the example 39 as it is.
1 parent e6d9c27 commit 30bb9fa

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

css-grid-1/Overview.bs

+1
Original file line numberDiff line numberDiff line change
@@ -3631,6 +3631,7 @@ Aligning the Grid: the 'justify-content' and 'align-content' properties</h3>
36313631
grid: 12rem 12rem 12rem 12rem / 10rem 10rem 10rem 10rem;
36323632
justify-content: end;
36333633
align-content: center;
3634+
min-height: 60rem;
36343635
}
36353636
</pre>
36363637

css-grid-2/Overview.bs

+1
Original file line numberDiff line numberDiff line change
@@ -4169,6 +4169,7 @@ Aligning the Grid: the 'justify-content' and 'align-content' properties</h3>
41694169
grid: 12rem 12rem 12rem 12rem / 10rem 10rem 10rem 10rem;
41704170
justify-content: end;
41714171
align-content: center;
4172+
min-height: 60rem;
41724173
}
41734174
</pre>
41744175

0 commit comments

Comments
 (0)