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

[docs] Remove usage of non-existent margin jss class #13318

Merged
merged 2 commits into from Oct 21, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
12 changes: 6 additions & 6 deletions docs/src/pages/demos/app-bar/PrimarySearchAppBar.js
Expand Up @@ -124,8 +124,8 @@ class PrimarySearchAppBar extends React.Component {
open={isMenuOpen}
onClose={this.handleMenuClose}
>
<MenuItem onClick={this.handleClose}>Profile</MenuItem>
<MenuItem onClick={this.handleClose}>My account</MenuItem>
<MenuItem onClick={this.handleMenuClose}>Profile</MenuItem>
<MenuItem onClick={this.handleMenuClose}>My account</MenuItem>
</Menu>
);

Expand All @@ -139,15 +139,15 @@ class PrimarySearchAppBar extends React.Component {
>
<MenuItem>
<IconButton color="inherit">
<Badge className={classes.margin} badgeContent={4} color="secondary">
<Badge badgeContent={4} color="secondary">
<MailIcon />
</Badge>
</IconButton>
<p>Messages</p>
</MenuItem>
<MenuItem>
<IconButton color="inherit">
<Badge className={classes.margin} badgeContent={11} color="secondary">
<Badge badgeContent={11} color="secondary">
<NotificationsIcon />
</Badge>
</IconButton>
Expand Down Expand Up @@ -187,12 +187,12 @@ class PrimarySearchAppBar extends React.Component {
<div className={classes.grow} />
<div className={classes.sectionDesktop}>
<IconButton color="inherit">
<Badge className={classes.margin} badgeContent={4} color="secondary">
<Badge badgeContent={4} color="secondary">
<MailIcon />
</Badge>
</IconButton>
<IconButton color="inherit">
<Badge className={classes.margin} badgeContent={17} color="secondary">
<Badge badgeContent={17} color="secondary">
<NotificationsIcon />
</Badge>
</IconButton>
Expand Down