Skip to content

Commit

Permalink
update the api
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari committed May 29, 2019
1 parent 7905d2b commit d2ee5ac
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion packages/material-ui/src/Container/Container.d.ts
Expand Up @@ -10,7 +10,6 @@ export interface ContainerProps

export type ContainerClassKey =
| 'root'
| 'gutters'
| 'fixed'
| 'maxWidthXs'
| 'maxWidthSm'
Expand Down
4 changes: 0 additions & 4 deletions packages/material-ui/src/Container/Container.js
Expand Up @@ -11,9 +11,6 @@ export const styles = theme => ({
marginLeft: 'auto',
boxSizing: 'border-box',
marginRight: 'auto',
},
/* Styles applied to the root element for padding. */
gutters: {
paddingLeft: theme.spacing(2),
paddingRight: theme.spacing(2),
[theme.breakpoints.up('sm')]: {
Expand Down Expand Up @@ -82,7 +79,6 @@ const Container = React.forwardRef(function Container(props, ref) {
<Component
className={clsx(
classes.root,
classes.gutters,
{
[classes.fixed]: fixed,
[classes[`maxWidth${capitalize(String(maxWidth))}`]]: maxWidth !== false,
Expand Down
1 change: 0 additions & 1 deletion pages/api/container.md
Expand Up @@ -37,7 +37,6 @@ This property accepts the following keys:
| Name | Description |
|:-----|:------------|
| <span class="prop-name">root</span> | Styles applied to the root element.
| <span class="prop-name">gutters</span> | Styles applied to the root element for padding.
| <span class="prop-name">fixed</span> | Styles applied to the root element if `fixed={true}`.
| <span class="prop-name">maxWidthXs</span> | Styles applied to the root element if `maxWidth="xs"`.
| <span class="prop-name">maxWidthSm</span> | Styles applied to the root element if `maxWidth="sm"`.
Expand Down

0 comments on commit d2ee5ac

Please sign in to comment.