Skip to content

Commit

Permalink
[Docs] Remove spacing={0} usage
Browse files Browse the repository at this point in the history
  • Loading branch information
ifndefdeadmau5 committed Jan 6, 2019
1 parent 5d7a17c commit d9e0598
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/src/pages/demos/tooltips/PositionedTooltips.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ function PositionedTooltips(props) {
<Button>left-end</Button>
</Tooltip>
</Grid>
<Grid item container xs={6} alignItems="flex-end" direction="column" spacing={0}>
<Grid item container xs={6} alignItems="flex-end" direction="column">
<Grid item>
<Tooltip title="Add" placement="right-start">
<Button>right-start</Button>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ class ProductCTA extends React.Component {

return (
<LayoutBody className={classes.root} component="section" width="large">
<Grid container spacing={0}>
<Grid container>
<Grid item xs={12} md={6} className={classes.cardWrapper}>
<div className={classes.card}>
<form onSubmit={this.handleSubmit} className={classes.cardContent}>
Expand Down
2 changes: 1 addition & 1 deletion docs/src/pages/utils/popover/AnchorPlayground.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ class AnchorPlayground extends React.Component {

return (
<div>
<Grid container justify="center" spacing={0}>
<Grid container justify="center">
<Grid item className={classes.buttonWrapper}>
<Button
buttonRef={node => {
Expand Down
2 changes: 1 addition & 1 deletion docs/src/pages/utils/popper/PositionedPopper.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ class PositionedPopper extends React.Component {
<br />
<Button onClick={this.handleClick('left-end')}>left-end</Button>
</Grid>
<Grid item container xs={6} alignItems="flex-end" direction="column" spacing={0}>
<Grid item container xs={6} alignItems="flex-end" direction="column">
<Grid item>
<Button onClick={this.handleClick('right-start')}>right-start</Button>
</Grid>
Expand Down
2 changes: 1 addition & 1 deletion test/regressions/tests/Tooltip/PositionedTooltips.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ function PositionedTooltips(props) {
<Button className={classes.fab}>left-end</Button>
</Tooltip>
</Grid>
<Grid item container xs={6} alignItems="flex-end" direction="column" spacing={0}>
<Grid item container xs={6} alignItems="flex-end" direction="column">
<Grid item>
<Tooltip open title="Add" placement="right-start">
<Button className={classes.fab}>right-start</Button>
Expand Down

0 comments on commit d9e0598

Please sign in to comment.