aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/pdf/PDFAnnotationLayer.tsx
diff options
context:
space:
mode:
authorSam Wilkins <samwilkins333@gmail.com>2019-08-06 11:11:37 -0400
committerSam Wilkins <samwilkins333@gmail.com>2019-08-06 11:11:37 -0400
commitc21e85d7c34488ca891c34ace84b9c773605986a (patch)
treecc5206b8bca8fa4738d9614aad71a45d12c1ec5f /src/client/views/pdf/PDFAnnotationLayer.tsx
parent2978e805156bffad92e8ac23259843a7cf207fb7 (diff)
parent298d1c9b29d6ce2171fd9ac8274b64583b73f6f5 (diff)
Merge branch 'master' of https://github.com/browngraphicslab/Dash-Web into speech-to-text
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