mirror of
https://github.com/infeng/react-viewer.git
synced 2025-12-08 17:36:40 +00:00
Update ViewerNav.tsx
This commit is contained in:
parent
0cc9814276
commit
19f0e1dfd9
@ -21,7 +21,7 @@ export default class ViewerNav extends React.Component<ViewerNavProps, any> {
|
||||
}
|
||||
|
||||
render() {
|
||||
var marginLeft = `calc(50% - ${this.props.activeIndex + 1} * 31px)`;
|
||||
let marginLeft = `calc(50% - ${this.props.activeIndex + 1} * 31px)`;
|
||||
let listStyle = {
|
||||
marginLeft: marginLeft
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user