mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-01 11:39:28 +08:00
Bring navigation back to home page
This commit is contained in:
parent
b8608deaed
commit
23c23797ff
@ -15,22 +15,16 @@ function getStyle() {
|
||||
}
|
||||
#header {
|
||||
box-shadow: none;
|
||||
max-width: 1200px;
|
||||
width: 100%;
|
||||
margin: 20px auto 0;
|
||||
padding: 0 24px;
|
||||
}
|
||||
#header #search-box {
|
||||
display: none;
|
||||
}
|
||||
#header,
|
||||
#header .ant-select-selection,
|
||||
#header .ant-menu {
|
||||
background: transparent;
|
||||
}
|
||||
#header #logo {
|
||||
padding: 0;
|
||||
}
|
||||
#header .ant-row > div:last-child, #header .nav-phone-icon{
|
||||
display: none;
|
||||
}
|
||||
footer .footer-wrap{
|
||||
width: 100%;
|
||||
padding: 0;
|
||||
|
@ -210,7 +210,11 @@ export default class Header extends React.Component {
|
||||
<Icon type="search" />
|
||||
<Input ref={ref => this.searchInput = ref} placeholder={searchPlaceholder} />
|
||||
</div>
|
||||
{!isMobile && menu}
|
||||
{!isMobile && (
|
||||
<div id="header-menu">
|
||||
{menu}
|
||||
</div>
|
||||
)}
|
||||
</Col>
|
||||
</Row>
|
||||
</header>
|
||||
|
Loading…
Reference in New Issue
Block a user