Skip to content

Commit

Permalink
Changed from margin to marginXYZ
Browse files Browse the repository at this point in the history
  • Loading branch information
benneq authored Oct 25, 2020
1 parent b39b478 commit 77a3fba
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions packages/material-ui/src/Tooltip/Tooltip.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,33 +114,33 @@ export const styles = (theme) => ({
/* Styles applied to the tooltip (label wrapper) element if `placement` contains "left". */
tooltipPlacementLeft: {
transformOrigin: 'right center',
margin: '0 0 24px 0',
marginRight: '24px',
[theme.breakpoints.up('sm')]: {
margin: '0 0 14px 0',
marginRight: '14px',
},
},
/* Styles applied to the tooltip (label wrapper) element if `placement` contains "right". */
tooltipPlacementRight: {
transformOrigin: 'left center',
margin: '0 24px 0 0',
marginLeft: '24px',
[theme.breakpoints.up('sm')]: {
margin: '0 14px 0 0',
marginLeft: '14px',
},
},
/* Styles applied to the tooltip (label wrapper) element if `placement` contains "top". */
tooltipPlacementTop: {
transformOrigin: 'center bottom',
margin: '0 0 0 24px',
marginBottom: '24px',
[theme.breakpoints.up('sm')]: {
margin: '0 0 0 14px',
marginBottom: '14px',
},
},
/* Styles applied to the tooltip (label wrapper) element if `placement` contains "bottom". */
tooltipPlacementBottom: {
transformOrigin: 'center top',
margin: '24px 0 0 0',
marginTop: '24px',
[theme.breakpoints.up('sm')]: {
margin: '14px 0 0 0',
marginTop: '14px',
},
},
});
Expand Down

0 comments on commit 77a3fba

Please sign in to comment.