diff --git a/src/styles/components/menu.less b/src/styles/components/menu.less index bccc2219..8e5eab8c 100644 --- a/src/styles/components/menu.less +++ b/src/styles/components/menu.less @@ -109,7 +109,8 @@ } &-horizontal &-submenu .@{select-dropdown-prefix-cls} { - width: 100%; + min-width: 100%; + width: auto; .@{menu-prefix-cls}-item{ height: auto; line-height: normal; diff --git a/test/routers/menu.vue b/test/routers/menu.vue index 68ed9222..a7edc33f 100644 --- a/test/routers/menu.vue +++ b/test/routers/menu.vue @@ -1,33 +1,20 @@