diff --git a/components/drawer/style/drawer.less b/components/drawer/style/drawer.less index 942fa7a6da..93f251a745 100644 --- a/components/drawer/style/drawer.less +++ b/components/drawer/style/drawer.less @@ -40,28 +40,28 @@ } // Placement - .@{drawer-prefix-cls}-left & { + .@{drawer-prefix-cls}-left > & { top: 0; bottom: 0; left: 0; box-shadow: @shadow-1-right; } - .@{drawer-prefix-cls}-right & { + .@{drawer-prefix-cls}-right > & { top: 0; right: 0; bottom: 0; box-shadow: @shadow-1-left; } - .@{drawer-prefix-cls}-top & { + .@{drawer-prefix-cls}-top > & { top: 0; right: 0; left: 0; box-shadow: @shadow-1-down; } - .@{drawer-prefix-cls}-bottom & { + .@{drawer-prefix-cls}-bottom > & { right: 0; bottom: 0; left: 0;