Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: mui/material-ui
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: be35a7754ab556fb8160ef2751f5f22a366b79f9
Choose a base ref
...
head repository: mui/material-ui
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 32db727c3d6c605971e9b89ced1d691c63808a5c
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Mar 8, 2020

  1. ListItemText - Add display block

    Fixes ListItemText with secondaryTypographyProps rendering on same line as primary.
    psdr03 committed Mar 8, 2020
    Copy the full SHA
    32db727 View commit details
Showing with 2 additions and 0 deletions.
  1. +2 −0 packages/material-ui/src/ListItemText/ListItemText.js
2 changes: 2 additions & 0 deletions packages/material-ui/src/ListItemText/ListItemText.js
Original file line number Diff line number Diff line change
@@ -52,6 +52,7 @@ const ListItemText = React.forwardRef(function ListItemText(props, ref) {
variant={dense ? 'body2' : 'body1'}
className={classes.primary}
component="span"
display="block"
{...primaryTypographyProps}
>
{primary}
@@ -66,6 +67,7 @@ const ListItemText = React.forwardRef(function ListItemText(props, ref) {
variant="body2"
className={classes.secondary}
color="textSecondary"
display="block"
{...secondaryTypographyProps}
>
{secondary}