diff --git a/package.json b/package.json index ba460bb..99271ee 100644 --- a/package.json +++ b/package.json @@ -32,6 +32,7 @@ "react-dom": "^15.4.2", "react-dropzone": "^3.9.2", "react-icons": "^2.2.3", + "react-overlays": "^0.6.12", "remarkable": "^1.7.1" }, "devDependencies": { diff --git a/src/javascript/components/DebugView.jsx b/src/javascript/components/DebugView.jsx index b0df149..31399ab 100644 --- a/src/javascript/components/DebugView.jsx +++ b/src/javascript/components/DebugView.jsx @@ -10,6 +10,7 @@ import Label from 'react-bootstrap/lib/Label' import Checkbox from 'react-bootstrap/lib/Checkbox' import Collapse from 'react-bootstrap/lib/Collapse' import Panel from 'react-bootstrap/lib/Panel' +import AutoAffix from 'react-overlays/lib/AutoAffix'; import ParseResult from '../models/ParseResult.jsx'; @@ -115,88 +116,90 @@ export default class DebugView extends React.Component { return (
- - - { lastTransformation.showPageSelection() && + +
+ + { lastTransformation.showPageSelection() && + + + + } - - } - - - - - - - - -
+
+ + +
+
+ +
-
- - -
+ + + + + + { ' ' } + + + + + { transformationMenuItems } + + + + { showModificationCheckbox && + + Show only modifications + } + + + + Show Statistics + + +
+
- - - - - - { ' ' } - - - - - { transformationMenuItems } - - - - { showModificationCheckbox && - - Show only modifications - } - - - - Show Statistics - - - - - -
- - -
    - { statisticsAsList } -
-
-
-
+ + + + + +
    + { statisticsAsList } +
+
+
+ + + + + { !this.state.showStatistics &&
}