Browse Source
Merge in VISUAL/fineui from ~GUY/fineui:master to master * commit '6a7548de5cec889c277343ac83dd28d6dc9a5353': left_right_vertical_adapt布局当右边元素出现invisible的时候的情况es6
guy
4 years ago
3 changed files with 6 additions and 26 deletions
@ -1,16 +1,5 @@
|
||||
.bi-f-lr-v-c { |
||||
> .flex-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