fix: add .clearfix

This commit is contained in:
Benjy Cui 2016-09-19 16:57:00 +08:00
parent 7233b9a908
commit b08a17d986
3 changed files with 6 additions and 2 deletions

View File

@ -97,3 +97,8 @@ pre,
samp {
font-family: @code-family;
}
// Utility classes
.clearfix {
.clearfix();
}

View File

@ -63,7 +63,6 @@
.banner-text-wrapper .start-button {
margin-bottom: 24px;
overflow: auto;
> a {
float: right;

View File

@ -25,7 +25,7 @@ export default class Banner extends React.Component {
<h2 key="h2">ANT <p>DESIGN</p></h2>
<p key="content"><FormattedMessage id="app.home.slogan" /></p>
<span className="line" key="line" />
<div key="button" className="start-button">
<div key="button" className="start-button clearfix">
<Link to="/docs/spec/introduce">
<Icon type="smile-circle" />
<FormattedMessage id="app.home.start" />