add tab-bar transform prefix

pull/2369/head
baiyaaaaa 2017-01-12 02:44:25 +08:00 committed by 杨奕
parent 868847161a
commit 6f9cf71096
1 changed files with 4 additions and 1 deletions

View File

@ -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;
}