Closed
Description
Description
As discussed earlier here: #26438 (closed)
height: unset;
is done on purpose: https://github.com/angular/components/blob/204b289588106d90c991f26a50c23c80c68d4fc3/src/material/table/table.scss#L150C11-L150C16
However, why does Material 3 have tokens to allow to you change those heights: https://material.angular.io/components/table/styling..?
Like: row-item-container-height
, header-container-height
etc. But they will NOT work...
Reproduction
- Try to use:
@include mat.table-overrides((
header-container-height: 32px,
row-item-container-height: 32px,
footer-container-height: 32px
));
- You will notice it won't work at all
Expected Behavior
- Either support these mixins like shown above.
- Or: Remove the token support from it?
Actual Behavior
You provide style override tokens, but it's not working at all. Its very confusing.
Environment
- Angular: 19.x
- CDK/Material: 19.x
- Browser(s): Firefox
- Operating System (e.g. Windows, macOS, Ubuntu): Ubuntu