Skip to content

Commit

Permalink
[material-ui][Divider] Fix CSS specificity order (#44204)
Browse files Browse the repository at this point in the history
Co-authored-by: ZeeshanTamboli <zeeshan.tamboli@gmail.com>
  • Loading branch information
o-alexandrov and ZeeshanTamboli authored Oct 27, 2024
1 parent bb415e8 commit f538258
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/mui-material/src/Divider/Divider.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,6 @@ const DividerRoot = styled('div', {
props: ({ ownerState }) => !!ownerState.children,
style: {
display: 'flex',
whiteSpace: 'nowrap',
textAlign: 'center',
border: 0,
borderTopStyle: 'solid',
Expand Down Expand Up @@ -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: {
Expand Down

0 comments on commit f538258

Please sign in to comment.