Skip to content

Commit ea46282

Browse files
bhalahariharanoliviertassinari
authored andcommitted
[docs] Fix IconButton Snackbar demos (#12964)
* Remove styles for IconButton * Prettify the changes * keep the height invariant
1 parent 3204104 commit ea46282

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

docs/src/pages/demos/snackbars/ConsecutiveSnackbars.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ import CloseIcon from '@material-ui/icons/Close';
88

99
const styles = theme => ({
1010
close: {
11-
width: theme.spacing.unit * 4,
12-
height: theme.spacing.unit * 4,
11+
padding: theme.spacing.unit / 2,
1312
},
1413
});
1514

docs/src/pages/demos/snackbars/SimpleSnackbar.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ import CloseIcon from '@material-ui/icons/Close';
88

99
const styles = theme => ({
1010
close: {
11-
width: theme.spacing.unit * 4,
12-
height: theme.spacing.unit * 4,
11+
padding: theme.spacing.unit / 2,
1312
},
1413
});
1514

0 commit comments

Comments
 (0)