mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-03 04:30:06 +08:00
fix: add .clearfix
This commit is contained in:
parent
7233b9a908
commit
b08a17d986
@ -97,3 +97,8 @@ pre,
|
|||||||
samp {
|
samp {
|
||||||
font-family: @code-family;
|
font-family: @code-family;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Utility classes
|
||||||
|
.clearfix {
|
||||||
|
.clearfix();
|
||||||
|
}
|
@ -63,7 +63,6 @@
|
|||||||
|
|
||||||
.banner-text-wrapper .start-button {
|
.banner-text-wrapper .start-button {
|
||||||
margin-bottom: 24px;
|
margin-bottom: 24px;
|
||||||
overflow: auto;
|
|
||||||
|
|
||||||
> a {
|
> a {
|
||||||
float: right;
|
float: right;
|
||||||
|
@ -25,7 +25,7 @@ export default class Banner extends React.Component {
|
|||||||
<h2 key="h2">ANT <p>DESIGN</p></h2>
|
<h2 key="h2">ANT <p>DESIGN</p></h2>
|
||||||
<p key="content"><FormattedMessage id="app.home.slogan" /></p>
|
<p key="content"><FormattedMessage id="app.home.slogan" /></p>
|
||||||
<span className="line" key="line" />
|
<span className="line" key="line" />
|
||||||
<div key="button" className="start-button">
|
<div key="button" className="start-button clearfix">
|
||||||
<Link to="/docs/spec/introduce">
|
<Link to="/docs/spec/introduce">
|
||||||
<Icon type="smile-circle" />
|
<Icon type="smile-circle" />
|
||||||
<FormattedMessage id="app.home.start" />
|
<FormattedMessage id="app.home.start" />
|
||||||
|
Loading…
Reference in New Issue
Block a user