mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-01 03:29:39 +08:00
fix: add .clearfix
This commit is contained in:
parent
7233b9a908
commit
b08a17d986
@ -97,3 +97,8 @@ pre,
|
||||
samp {
|
||||
font-family: @code-family;
|
||||
}
|
||||
|
||||
// Utility classes
|
||||
.clearfix {
|
||||
.clearfix();
|
||||
}
|
@ -63,7 +63,6 @@
|
||||
|
||||
.banner-text-wrapper .start-button {
|
||||
margin-bottom: 24px;
|
||||
overflow: auto;
|
||||
|
||||
> a {
|
||||
float: right;
|
||||
|
@ -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" />
|
||||
|
Loading…
Reference in New Issue
Block a user