diff --git a/packages/mui-material/src/Divider/Divider.js b/packages/mui-material/src/Divider/Divider.js index 5e553592d59418..94aca5904293f4 100644 --- a/packages/mui-material/src/Divider/Divider.js +++ b/packages/mui-material/src/Divider/Divider.js @@ -136,7 +136,6 @@ const DividerRoot = styled('div', { props: ({ ownerState }) => !!ownerState.children, style: { display: 'flex', - whiteSpace: 'nowrap', textAlign: 'center', border: 0, borderTopStyle: 'solid', @@ -209,6 +208,7 @@ const DividerWrapper = styled('span', { display: 'inline-block', paddingLeft: `calc(${theme.spacing(1)} * 1.2)`, paddingRight: `calc(${theme.spacing(1)} * 1.2)`, + whiteSpace: 'nowrap', variants: [ { props: {