Update ViewerNav.tsx

This commit is contained in:
khitryk 2018-11-19 15:10:14 +00:00 committed by GitHub
parent f641caf32b
commit 0cc9814276
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,8 +23,7 @@ export default class ViewerNav extends React.Component<ViewerNavProps, any> {
render() {
var marginLeft = `calc(50% - ${this.props.activeIndex + 1} * 31px)`;
let listStyle = {
marginLeft: marginLeft,
textAlign: 'left'
marginLeft: marginLeft
};
return (