From cbd3591c96e840dc30c79e2e1f36d0320f5a00f1 Mon Sep 17 00:00:00 2001 From: 梁灏 Date: Fri, 16 Dec 2016 16:27:07 +0800 Subject: [PATCH] fixed #131 --- src/styles/components/menu.less | 3 ++- test/routers/menu.vue | 31 +++++++++---------------------- 2 files changed, 11 insertions(+), 23 deletions(-) diff --git a/src/styles/components/menu.less b/src/styles/components/menu.less index bccc221..8e5eab8 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 68ed922..a7edc33 100644 --- a/test/routers/menu.vue +++ b/test/routers/menu.vue @@ -1,33 +1,20 @@