From 7fe58637f4165b1fc76e3eee386cff9a905cca6e Mon Sep 17 00:00:00 2001 From: 梁灏 Date: Mon, 24 Dec 2018 11:45:20 +0800 Subject: [PATCH] fix #5056 --- src/styles/components/tree.less | 9 +++++++++ 1 file changed, 9 insertions(+), 0 deletions(-) diff --git a/src/styles/components/tree.less b/src/styles/components/tree.less index f261e96..fd31504 100644 --- a/src/styles/components/tree.less +++ b/src/styles/components/tree.less @@ -6,12 +6,21 @@ margin: 0; padding: 0; font-size: @font-size-small; + &.@{dropdown-prefix-cls}-menu{ + padding: 0; + } li{ list-style: none; margin: 8px 0; padding: 0; white-space: nowrap; outline: none; + + &.@{dropdown-item-prefix-cls}{ + margin: 0; + padding: 7px 16px; + white-space: nowrap; + } } } li{ -- libgit2 0.21.4