header-sider-layout
Version:
ant-design-pro layout, based on pro-layout, with header and sider layout.
23 lines (17 loc) • 424 B
text/less
@import '~antd/es/style/themes/default.less';
@basicLayout-prefix-cls: ~'@{ant-prefix}-pro-basicLayout-content';
.@{basicLayout-prefix-cls} {
margin: 24px;
padding-top: @layout-header-height;
}
.basicLayout {
.ant-layout {
transition: all 0.2s;
}
}
.ant-pro-basicLayout-both-nav {
min-height: calc(100vh - @layout-header-height);
}
.ant-pro-both-nav-fixed-header {
padding-top: @layout-header-height;
}