mirror of
https://github.com/ant-design/ant-design.git
synced 2025-07-25 16:23:09 +08:00
style(drawer): fix drawer nesting style pollution (#36845)
Co-authored-by: eason.ym <eason.ym@alibaba-inc.com>
This commit is contained in:
parent
01bd2f2964
commit
5b45a8fa87
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user