Skip to content

Commit 37620ce

Browse files
adrogonVivian Hu
authored andcommitted
docs(table component): Fix section ordering (#13947)
In the "Overview" tab of the `mat-table` directive, the "Selection" feature documentation is currently split over the "Footer row" one. This fixes it.
1 parent 2fb58ab commit 37620ce

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

src/lib/table/table.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,19 @@ masterToggle() {
257257
}
258258
```
259259

260+
##### 4. Include overflow styling
261+
262+
Finally, adjust the styling for the select column so that its overflow is not hidden. This allows
263+
the ripple effect to extend beyond the cell.
264+
265+
```css
266+
.mat-column-select {
267+
overflow: initial;
268+
}
269+
```
270+
271+
<!--- example(table-selection) -->
272+
260273
#### Footer row
261274

262275
A footer row can be added to the table by adding a footer row definition to the table and adding
@@ -279,19 +292,6 @@ data rows.
279292

280293
<!--- example(table-footer-row) -->
281294

282-
##### 4. Include overflow styling
283-
284-
Finally, adjust the styling for the select column so that its overflow is not hidden. This allows
285-
the ripple effect to extend beyond the cell.
286-
287-
```css
288-
.mat-column-select {
289-
overflow: initial;
290-
}
291-
```
292-
293-
<!--- example(table-selection) -->
294-
295295
#### Sticky Rows and Columns
296296

297297
By using `position: sticky` styling, the table's rows and columns can be fixed so that they do not

0 commit comments

Comments
 (0)