mirror of https://github.com/ElemeFE/element
update step style
parent
1df2920f4f
commit
699d288ec1
|
@ -110,7 +110,7 @@ export default {
|
||||||
|
|
||||||
if (parent.direction === 'horizontal') {
|
if (parent.direction === 'horizontal') {
|
||||||
this.style = { width: space };
|
this.style = { width: space };
|
||||||
this.mainOffset = -this.$refs.title.getBoundingClientRect().width / 2 + 16 + 'px';
|
// this.mainOffset = -this.$refs.title.getBoundingClientRect().width / 2 + 16 + 'px';
|
||||||
} else {
|
} else {
|
||||||
this.style = { height: space };
|
this.style = { height: space };
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,7 +3,6 @@
|
||||||
|
|
||||||
@component-namespace el {
|
@component-namespace el {
|
||||||
@b steps {
|
@b steps {
|
||||||
overflow: hidden;
|
|
||||||
font-size: 0;
|
font-size: 0;
|
||||||
|
|
||||||
> :last-child .el-step__line {
|
> :last-child .el-step__line {
|
||||||
|
|
Loading…
Reference in New Issue