mui-org/material-ui

[Card] Gutters should depend on window size #10044

sergeyfedotov posted onGitHub

Expected Behavior

ListItem and CardHeader gutters should depend on window size.

https://material.io/guidelines/components/cards.html#cards-content-blocks

On tablet/desktop, cards should follow the 24dp keyline. See Metrics & Keylines for more information.

Current Behavior

Gutters have a fixed size.

https://github.com/mui-org/material-ui/blob/5601dbb8a8706e9bb330b9275001343a9fcdb169/src/List/ListItem.js#L36-L39

Context

Сorrect behavior is already implemented for the Toolbar.

https://github.com/mui-org/material-ui/blob/5601dbb8a8706e9bb330b9275001343a9fcdb169/src/Toolbar/Toolbar.js#L13

Your Environment

<!--- Include as many relevant details about the environment with which you experienced the bug. -->

Tech Version
Material-UI 1.0.0-beta.30

Fund this Issue

$40.00
Rewarded

Rewarded pull request

Recent activities

joshwooding was rewarded by oliviertassinari for mui-org/material-ui# 10044
about 6 years ago
joshwooding submitted an output to  mui-org/ material-ui# 10044
over 6 years ago