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

mb-copart picture mb-copart  路  3Comments

FranBran picture FranBran  路  3Comments

rbozan picture rbozan  路  3Comments

ryanflorence picture ryanflorence  路  3Comments

ericraffin picture ericraffin  路  3Comments