mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 19:19:57 +08:00
site: add search input in home page
This commit is contained in:
parent
e7ba4fb3f0
commit
99cc5b9607
@ -12,7 +12,6 @@ title: Work with Us
|
||||
const emails = [
|
||||
'momo.zxy#alipay.com',
|
||||
'lindong.lld#alipay.com',
|
||||
'luli.fxx#alipay.com',
|
||||
];
|
||||
ReactDOM.render(
|
||||
<p>作品和简历请投递:{emails[parseInt(Math.random() * emails.length, 10)]}</p>
|
||||
|
@ -10,6 +10,7 @@ title: 加入我们
|
||||
|
||||
```__react
|
||||
const emails = [
|
||||
'momo.zxy#alipay.com',
|
||||
'lindong.lld#alipay.com',
|
||||
];
|
||||
ReactDOM.render(
|
||||
|
@ -11,22 +11,6 @@
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 1440px) and (max-width: 1599px) {
|
||||
.main-wrapper > .ant-row > .ant-col-xl-5 {
|
||||
width: 274px;
|
||||
}
|
||||
|
||||
#header .ant-row .ant-col-xl-5 {
|
||||
width: 274px;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 1280px) {
|
||||
.en-us #search-box {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (max-width: @screen-xl) {
|
||||
#search-box {
|
||||
display: none;
|
||||
|
@ -27,7 +27,6 @@ function getStyle() {
|
||||
#header #logo {
|
||||
padding: 0;
|
||||
}
|
||||
#header .ant-row > div:last-child #search-box,
|
||||
#header .ant-row > div:last-child .ant-select,
|
||||
#header .ant-row > div:last-child .ant-menu,
|
||||
#header .nav-phone-icon {
|
||||
@ -36,24 +35,19 @@ function getStyle() {
|
||||
#header .ant-row > div:last-child .header-lang-button {
|
||||
margin-right: 0;
|
||||
}
|
||||
#header .ant-row .ant-col-lg-19,
|
||||
#header .ant-row .ant-col-xl-19 {
|
||||
width: 50%;
|
||||
float: right;
|
||||
}
|
||||
footer .footer-wrap{
|
||||
footer .footer-wrap {
|
||||
width: 100%;
|
||||
padding: 0;
|
||||
}
|
||||
footer .bottom-bar{
|
||||
footer .bottom-bar {
|
||||
margin: auto;
|
||||
max-width: 1200px;
|
||||
padding: 16px 24px;
|
||||
}
|
||||
footer .bottom-bar{
|
||||
footer .bottom-bar {
|
||||
border-top: none;
|
||||
}
|
||||
footer .footer-wrap .ant-row{
|
||||
footer .footer-wrap .ant-row {
|
||||
width: 100%;
|
||||
max-width: 1200px;
|
||||
padding: 86px 24px 93px 24px;
|
||||
|
Loading…
Reference in New Issue
Block a user