Skip to content

Commit c5ebc10

Browse files
improve mobile display
1 parent 1318772 commit c5ebc10

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

docs/src/modules/components/Demo.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,15 @@ const styles = theme => ({
5454
position: 'relative',
5555
outline: 0,
5656
margin: 'auto',
57-
borderRadius: theme.shape.borderRadius,
5857
display: 'flex',
5958
justifyContent: 'center',
59+
borderLeftWidth: 0,
60+
borderRightWidth: 0,
6061
border: `1px solid ${fade(theme.palette.action.active, 0.12)}`,
61-
padding: theme.spacing(2),
6262
[theme.breakpoints.up('sm')]: {
63+
borderRadius: theme.shape.borderRadius,
64+
borderLeftWidth: 1,
65+
borderRightWidth: 1,
6366
padding: theme.spacing(3),
6467
},
6568
},

0 commit comments

Comments
 (0)