Browse Source

left_right_vertical_adapt布局当右边元素出现invisible的时候的情况

master
guy 4 years ago
parent
commit
0522c81c00
  1. 6
      src/less/core/wrapper/flex.leftrightvertical.center.less

6
src/less/core/wrapper/flex.leftrightvertical.center.less

@ -2,6 +2,12 @@
> .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…
Cancel
Save