File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
src/material-experimental/mdc-table Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change 13
13
@include vendor-prefixes .position-sticky ($important : true);
14
14
}
15
15
16
- // MDC Table applies `table-layout: fixed`, but this is a backwards incompatible
17
- // change since the table did not previously apply it.
18
- // TODO: Add a mixin to MDC to set the layout instead of including this override,
19
- // see this issue: https://github.com/material-components/material-components-web/issues/6412
20
16
.mat-mdc-table {
17
+ // MDC Table applies `table-layout: fixed`, but this is a backwards incompatible
18
+ // change since the table did not previously apply it.
19
+ // TODO: Add a mixin to MDC to set the layout instead of including this override,
20
+ // see this issue: https://github.com/material-components/material-components-web/issues/6412
21
21
table-layout : auto ;
22
+
23
+ // The MDC table does not allow text to wrap within the cell. This allows for text to
24
+ // wrap when the cell reaches its maximum width.
25
+ white-space : normal ;
22
26
}
23
27
24
28
// MDC table rows are styled with a top border, whereas our legacy flex table styles rows with
You can’t perform that action at this time.
0 commit comments