Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Paper] Reduce the default elevation #15243

Merged
merged 4 commits into from
Apr 10, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
use the default value
oliviertassinari committed Apr 10, 2019

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 9695282cbf82baba30c0b298227202e1eb740ff0
2 changes: 1 addition & 1 deletion docs/src/pages/demos/paper/PaperSheet.js
Original file line number Diff line number Diff line change
@@ -15,7 +15,7 @@ function PaperSheet(props) {

return (
<div>
<Paper className={classes.root} elevation={1}>
<Paper className={classes.root}>
<Typography variant="h5" component="h3">
This is a sheet of paper.
</Typography>
2 changes: 1 addition & 1 deletion docs/src/pages/demos/paper/PaperSheet.tsx
Original file line number Diff line number Diff line change
@@ -16,7 +16,7 @@ function PaperSheet(props: WithStyles<typeof styles>) {

return (
<div>
<Paper className={classes.root} elevation={1}>
<Paper className={classes.root}>
<Typography variant="h5" component="h3">
This is a sheet of paper.
</Typography>
2 changes: 1 addition & 1 deletion docs/src/pages/demos/text-fields/CustomizedInputBase.js
Original file line number Diff line number Diff line change
@@ -34,7 +34,7 @@ function CustomizedInputBase(props) {
const { classes } = props;

return (
<Paper className={classes.root} elevation={1}>
<Paper className={classes.root}>
<IconButton className={classes.iconButton} aria-label="Menu">
<MenuIcon />
</IconButton>
2 changes: 1 addition & 1 deletion docs/src/pages/demos/text-fields/CustomizedInputBase.tsx
Original file line number Diff line number Diff line change
@@ -36,7 +36,7 @@ function CustomizedInputBase(props: Props) {
const { classes } = props;

return (
<Paper className={classes.root} elevation={1}>
<Paper className={classes.root}>
<IconButton className={classes.iconButton} aria-label="Menu">
<MenuIcon />
</IconButton>
2 changes: 1 addition & 1 deletion docs/src/pages/demos/transfer-list/TransferList.js
Original file line number Diff line number Diff line change
@@ -79,7 +79,7 @@ function TransferList() {
};

const customList = items => (
<Paper elevation={1} className={classes.paper}>
<Paper className={classes.paper}>
<List dense>
{items.map(value => (
<ListItem
Original file line number Diff line number Diff line change
@@ -10,7 +10,7 @@ const { AppBar, Avatar, Badge, Icon, Toolbar } = atoms;
const { Tabs, Tab, ListItem, InputAdornment } = molecules;

const Header = () => (
<AppBar position="sticky" elevation={1}>
<AppBar position="sticky">
<Toolbar>
<Grid container alignItems="center" spacing={2}>
<Grid item xs={6} sm={4}>
2 changes: 1 addition & 1 deletion packages/material-ui/src/ExpansionPanel/ExpansionPanel.js
Original file line number Diff line number Diff line change
@@ -119,7 +119,7 @@ const ExpansionPanel = React.forwardRef(function ExpansionPanel(props, ref) {
},
className,
)}
elevation={1}

ref={ref}
square={square}
{...other}