mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-29 05:29:37 +08:00
parent
7715657cf1
commit
4d26ed83e3
@ -28,14 +28,13 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media only screen and (max-width: 991.99px) {
|
@media only screen and (max-width: @screen-lg) {
|
||||||
.main-menu {
|
.main-container {
|
||||||
> div > .ant-affix {
|
padding-right: 48px;
|
||||||
position: static !important;
|
padding-left: 48px;
|
||||||
}
|
|
||||||
.main-menu-inner {
|
.toc-affix {
|
||||||
max-height: none;
|
display: none;
|
||||||
overflow: hidden;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.code-boxes-col-2-1,
|
.code-boxes-col-2-1,
|
||||||
|
@ -326,13 +326,13 @@ class MainContent extends Component {
|
|||||||
{menuChild}
|
{menuChild}
|
||||||
</MobileMenu>
|
</MobileMenu>
|
||||||
) : (
|
) : (
|
||||||
<Col xxl={4} xl={5} lg={6} md={24} sm={24} xs={24} className="main-menu">
|
<Col xxl={4} xl={5} lg={6} md={6} sm={24} xs={24} className="main-menu">
|
||||||
<Affix>
|
<Affix>
|
||||||
<section className="main-menu-inner">{menuChild}</section>
|
<section className="main-menu-inner">{menuChild}</section>
|
||||||
</Affix>
|
</Affix>
|
||||||
</Col>
|
</Col>
|
||||||
)}
|
)}
|
||||||
<Col xxl={20} xl={19} lg={18} md={24} sm={24} xs={24}>
|
<Col xxl={20} xl={19} lg={18} md={18} sm={24} xs={24}>
|
||||||
<section className={mainContainerClass}>
|
<section className={mainContainerClass}>
|
||||||
{demos ? (
|
{demos ? (
|
||||||
<ComponentDoc
|
<ComponentDoc
|
||||||
|
Loading…
Reference in New Issue
Block a user