mirror of https://github.com/ElemeFE/element
add tab-bar transform prefix
parent
868847161a
commit
6f9cf71096
|
@ -28,8 +28,11 @@
|
|||
}
|
||||
});
|
||||
|
||||
const transform = `translateX(${offset}px)`;
|
||||
style.width = tabWidth + 'px';
|
||||
style.transform = `translateX(${offset}px)`;
|
||||
style.transform = transform;
|
||||
style.msTransform = transform;
|
||||
style.webkitTransform = transform;
|
||||
|
||||
return style;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue