aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/pdf/PDFAnnotationLayer.tsx
diff options
context:
space:
mode:
authorab <abdullah_ahmed@brown.edu>2019-08-12 12:24:51 -0400
committerab <abdullah_ahmed@brown.edu>2019-08-12 12:24:51 -0400
commit73ac98d53b80230bb085d71b61254f6c24a3e397 (patch)
tree43b13e482c29ce6a3db1108aca056581495303d7 /src/client/views/pdf/PDFAnnotationLayer.tsx
parentb8ab5a823ae22b021c09dfd713b77211a51b3eae (diff)
parent3aea955ae56c1aa0611de09c4a013e9dc5c86c42 (diff)
merged
Diffstat (limited to 'src/client/views/pdf/PDFAnnotationLayer.tsx')
-rw-r--r--src/client/views/pdf/PDFAnnotationLayer.tsx7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/client/views/pdf/PDFAnnotationLayer.tsx b/src/client/views/pdf/PDFAnnotationLayer.tsx
index 1f49e0d2f..4f267a5c0 100644
--- a/src/client/views/pdf/PDFAnnotationLayer.tsx
+++ b/src/client/views/pdf/PDFAnnotationLayer.tsx
@@ -1,5 +1,6 @@
import React = require("react");
import { observer } from "mobx-react";
+import "./PDFAnnotationLayer.scss";
interface IAnnotationProps {
@@ -15,10 +16,6 @@ export class PDFAnnotationLayer extends React.Component {
}
render() {
- return (
- <div className="pdfAnnotationLayer-cont" style={{ width: "100%", height: "100%", position: "relative", top: "-200%" }} onPointerDown={this.onPointerDown}>
-
- </div>
- );
+ return <div className="pdfAnnotationLayer-cont" onPointerDown={this.onPointerDown} />;
}
} \ No newline at end of file