Skip to content

Commit

Permalink
Fix badge in header
Browse files Browse the repository at this point in the history
  • Loading branch information
afc163 committed Oct 31, 2017
1 parent 3e7ade8 commit cc30520
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions site/theme/template/Layout/Header.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -196,11 +196,12 @@ export default class Header extends React.Component {
</Link>
</Menu.Item>
<Menu.Item key="pro">
<Badge dot>
<a href="http://pro.ant.design" className="header-link">
<FormattedMessage id="app.header.menu.pro" />
</a>
</Badge>
<a href="http://pro.ant.design" className="header-link">
<FormattedMessage id="app.header.menu.pro" />
<span style={{ display: 'inline-block', position: 'relative', top: -2, width: 18 }}>
<Badge dot />
</span>
</a>
</Menu.Item>
</Menu>,
];
Expand Down

0 comments on commit cc30520

Please sign in to comment.