mirror of
https://github.com/ElemeFE/element.git
synced 2025-12-13 11:34:02 +08:00
Steps: fix style with simple theme (#14610)
This commit is contained in:
@@ -161,7 +161,7 @@ export default {
|
||||
style.transitionDelay = (-150 * this.index) + 'ms';
|
||||
}
|
||||
|
||||
style.borderWidth = step ? '1px' : 0;
|
||||
style.borderWidth = step && !this.isSimple ? '1px' : 0;
|
||||
this.$parent.direction === 'vertical'
|
||||
? style.height = step + '%'
|
||||
: style.width = step + '%';
|
||||
|
||||
Reference in New Issue
Block a user