Skip to content

Commit

Permalink
fix: add .clearfix
Browse files Browse the repository at this point in the history
  • Loading branch information
benjycui committed Sep 19, 2016
1 parent 7233b9a commit b08a17d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
5 changes: 5 additions & 0 deletions components/style/core/base.less
Original file line number Diff line number Diff line change
Expand Up @@ -97,3 +97,8 @@ pre,
samp {
font-family: @code-family;
}

// Utility classes
.clearfix {
.clearfix();
}
1 change: 0 additions & 1 deletion site/theme/static/home.less
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@

.banner-text-wrapper .start-button {
margin-bottom: 24px;
overflow: auto;

> a {
float: right;
Expand Down
2 changes: 1 addition & 1 deletion site/theme/template/Home/Banner.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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" />
Expand Down

0 comments on commit b08a17d

Please sign in to comment.