mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-18 22:36:31 +08:00
Revert "Bring navigation back to home page"
This reverts commit 23c23797ff
.
This commit is contained in:
parent
783945cfba
commit
2d402050a2
@ -15,16 +15,22 @@ function getStyle() {
|
||||
}
|
||||
#header {
|
||||
box-shadow: none;
|
||||
max-width: 1200px;
|
||||
width: 100%;
|
||||
}
|
||||
#header #search-box {
|
||||
display: none;
|
||||
margin: 20px auto 0;
|
||||
padding: 0 24px;
|
||||
}
|
||||
#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,11 +210,7 @@ export default class Header extends React.Component {
|
||||
<Icon type="search" />
|
||||
<Input ref={ref => this.searchInput = ref} placeholder={searchPlaceholder} />
|
||||
</div>
|
||||
{!isMobile && (
|
||||
<div id="header-menu">
|
||||
{menu}
|
||||
</div>
|
||||
)}
|
||||
{!isMobile && menu}
|
||||
</Col>
|
||||
</Row>
|
||||
</header>
|
||||
|
Loading…
Reference in New Issue
Block a user