Skip to content

Commit dc12093

Browse files
committed
Merge pull request w3c#40 from SelenIT/patch-1
Minor fixes of the example for `grid-auto-flow` section
2 parents 659f5f3 + 0f6c719 commit dc12093

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

css-grid/Overview.bs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1878,7 +1878,7 @@ Sizing Auto-generated Rows and Columns: the 'grid-auto-rows' and 'grid-auto-colu
18781878
/* Define three columns, all content-sized,
18791879
and name the corresponding lines. */
18801880
grid-template-columns: [labels] auto [controls] auto [oversized] auto;
1881-
grid-auto-flow: row;
1881+
grid-auto-flow: row dense;
18821882
}
18831883
form > label {
18841884
/* Place all labels in the "labels" column and
@@ -1893,7 +1893,7 @@ Sizing Auto-generated Rows and Columns: the 'grid-auto-rows' and 'grid-auto-colu
18931893
grid-row: auto;
18941894
}
18951895

1896-
#department {
1896+
#department-block {
18971897
/* Auto place this item in the "oversized" column
18981898
in the first row where an area that spans three rows
18991899
won't overlap other explicitly placed items or areas
@@ -1931,7 +1931,7 @@ Sizing Auto-generated Rows and Columns: the 'grid-auto-rows' and 'grid-auto-colu
19311931
<label for="zip">Zip:</label>
19321932
<input type="text" id="zip" name="zip" />
19331933

1934-
<div id="department">
1934+
<div id="department-block">
19351935
<label for="department">Department:</label>
19361936
<select id="department" name="department" multiple>
19371937
<option value="finance">Finance</option>

0 commit comments

Comments
 (0)