[List] Padding issue when setting dense and disablePadding at the same time #7515
Labels
bug 🐛
Something doesn't work
component: list
This is the name of the generic UI component, not the React module!
good first issue
Great for first contributions. Enable to learn the contribution process.
Hi,
Setting
dense
anddisablePadding
at the same time to theList
Component, results still having some padding.Looks like
dense
styles overwritesdisablePadding
styles.see this code https://github.com/callemall/material-ui/blob/v1-alpha/src/List/List.js#L18-L25
Any how to have
disablePadding
styles !important, not sure how it is done in jss...The text was updated successfully, but these errors were encountered: