forked from fanruan/fineui
Browse Source
Merge in VISUAL/fineui from ~GUY/fineui:master to master * commit 'a0897e74f95e44b0a9a44f063d85222d0c8a30b9': left_right_vertical_adapt布局当右边元素出现invisible的时候的情况 left_right_vertical_adapt布局当右边元素出现invisible的时候的情况 left_right_vertical_adapt布局当右边元素出现invisible的时候的情况es6
guy
4 years ago
4 changed files with 30 additions and 9 deletions
@ -1,5 +1,16 @@ |
|||||||
.bi-f-lr-v-c { |
.bi-f-lr-v-c { |
||||||
> .flex-left-auto { |
> .flex-left-auto { |
||||||
margin-left: auto; |
margin-left: auto; |
||||||
|
|
||||||
|
// 当隐藏的元素出现在中间某个元素的情况 |
||||||
|
+ .flex-left-auto.invisible { |
||||||
|
+ .flex-left-auto { |
||||||
|
margin-left: initial; |
||||||
|
} |
||||||
|
} |
||||||
|
|
||||||
|
&:not(.invisible) + .flex-left-auto { |
||||||
|
margin-left: initial; |
||||||
|
} |
||||||
} |
} |
||||||
} |
} |
||||||
|
Loading…
Reference in new issue