Material-ui: [ListItem] How to change the padding of <ListItem />

Created on 22 Feb 2016  路  3Comments  路  Source: mui-org/material-ui

The style props for <ListItem /> does not apply any padding that you set. The style prop is working as you can change the height but the Padding seems to be hard coded at 16px for top and bottom

v0.x

Most helpful comment

So this was not actually an issue but my fault, I needed to be using the 'innerDiveStyle' prop and not the 'style' prop

All 3 comments

So this was not actually an issue but my fault, I needed to be using the 'innerDiveStyle' prop and not the 'style' prop

Thanks for following up.

needed to be using the 'innerDivStyle' prop

thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

darkowic picture darkowic  路  62Comments

gndplayground picture gndplayground  路  54Comments

HZooly picture HZooly  路  63Comments

tdkn picture tdkn  路  57Comments

kybarg picture kybarg  路  164Comments