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

finaiized picture finaiized  路  3Comments

FranBran picture FranBran  路  3Comments

mattmiddlesworth picture mattmiddlesworth  路  3Comments

iamzhouyi picture iamzhouyi  路  3Comments

activatedgeek picture activatedgeek  路  3Comments