mirror of
https://github.com/ant-design/ant-design.git
synced 2025-08-06 16:06:28 +08:00
将sider收起时的宽度变量放到themes中控制 (#7238)
This commit is contained in:
parent
e061ada71a
commit
a93cb09e15
@ -2,7 +2,6 @@
|
|||||||
@import "../../style/mixins/index";
|
@import "../../style/mixins/index";
|
||||||
|
|
||||||
@menu-prefix-cls: ~"@{ant-prefix}-menu";
|
@menu-prefix-cls: ~"@{ant-prefix}-menu";
|
||||||
@menu-collapsed-width: 64px;
|
|
||||||
|
|
||||||
// default theme
|
// default theme
|
||||||
.@{menu-prefix-cls} {
|
.@{menu-prefix-cls} {
|
||||||
|
@ -283,6 +283,7 @@
|
|||||||
// ---
|
// ---
|
||||||
@menu-dark-bg: @layout-header-background;
|
@menu-dark-bg: @layout-header-background;
|
||||||
@menu-dark-submenu-bg: #333;
|
@menu-dark-submenu-bg: #333;
|
||||||
|
@menu-collapsed-width: 64px;
|
||||||
|
|
||||||
// Spin
|
// Spin
|
||||||
// ---
|
// ---
|
||||||
|
Loading…
Reference in New Issue
Block a user