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
f641caf32b
commit
0cc9814276
@ -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 (
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user