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

[ListItemAvatar] Add fontSize: 20 to the icon class

Open chilbi opened this issue 9 years ago • 5 comments

https://github.com/callemall/material-ui/blob/56fd0d9d2f6fe0222b8c4117e227de1d725918ba/src/List/ListItemAvatar.js#L17 when dense = true, icon font does not become smaller

chilbi avatar Oct 13 '17 08:10 chilbi

Why should it be smaller?

oliviertassinari avatar Oct 13 '17 09:10 oliviertassinari

not notfontsize has hasfontsize

chilbi avatar Oct 13 '17 09:10 chilbi

@chilbi Thanks for the expected/actual example. Do you want to give it a shot?

oliviertassinari avatar Oct 13 '17 09:10 oliviertassinari

Would just adding fontSize 20 fix this?

lunzhang avatar Oct 13 '17 17:10 lunzhang

@oliviertassinari i have fixed that issue please confirm https://github.com/callemall/material-ui/compare/v1-beta...lawlessnut:Component-ListItem-Avatar?expand=1

lawlessnut avatar Oct 13 '17 17:10 lawlessnut