material-ui icon indicating copy to clipboard operation
material-ui copied to clipboard

Table does not inherit height if it's not specified

Open fHudek opened this issue 10 years ago • 2 comments

Table has a wrapper that has className mui-table-wrapper. This wrapper has its size set to auto by default not inherit so it ignores size of parent. Then table mui-body-table has it set to inherit but becouse wrapper has it set to auto table takes as much space as it needs to draw itself. Is there any way to make table to inherit height of it ancestor?

fHudek avatar Dec 10 '15 15:12 fHudek

@alitaheri someone has already fixed it (I guess). bodyTable and tableWrapper both are already set to auto so it won't be a problem anymore. or should I change both to inherit?

heetvachhani avatar Feb 24 '16 22:02 heetvachhani

Hmm I'm not very familiar with our Table components. If it does inherit then I guess it's fixed. @ferdud Please reopen if this is still an issue, thank you :+1:

alitaheri avatar Feb 25 '16 21:02 alitaheri