From 49fb53dd3497e3c825bab92f1f1dde42644dbab4 Mon Sep 17 00:00:00 2001 From: psdr03 Date: Mon, 9 Mar 2020 03:27:01 +0800 Subject: [PATCH] [ListItemText] Fix display block issue (#20039) --- packages/material-ui/src/ListItemText/ListItemText.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/material-ui/src/ListItemText/ListItemText.js b/packages/material-ui/src/ListItemText/ListItemText.js index ead75f94dc58cc..f826e7c5578af1 100644 --- a/packages/material-ui/src/ListItemText/ListItemText.js +++ b/packages/material-ui/src/ListItemText/ListItemText.js @@ -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}