mirror of https://github.com/ElemeFE/element
Merge pull request #9454 from Leopoldthecoder/step/line
Step: fix flex-basis when align-center is truepull/9503/head
commit
34df2e639c
|
@ -121,7 +121,7 @@ export default {
|
||||||
? this.space + 'px'
|
? this.space + 'px'
|
||||||
: this.space
|
: this.space
|
||||||
? this.space
|
? this.space
|
||||||
: 100 / (len - 1) + '%');
|
: 100 / (len - (this.isCenter ? 0 : 1)) + '%');
|
||||||
style.flexBasis = space;
|
style.flexBasis = space;
|
||||||
if (this.isVertical) return style;
|
if (this.isVertical) return style;
|
||||||
if (this.isLast) {
|
if (this.isLast) {
|
||||||
|
|
Loading…
Reference in New Issue