diff options
author | Bob Zeleznik <zzzman@gmail.com> | 2019-08-05 00:43:49 -0400 |
---|---|---|
committer | Bob Zeleznik <zzzman@gmail.com> | 2019-08-05 00:43:49 -0400 |
commit | 16eabe68912ec4e48fc4059f9b377fba0f076ab1 (patch) | |
tree | fe7258a57334c8b552b1d92143f1cdf47c4e8103 /src/client/views/pdf/PDFAnnotationLayer.tsx | |
parent | 84cc462b313b719c1c8c8c6f901ee4e9f808a733 (diff) |
a couple of fixes to PDF linking and scrolling
Diffstat (limited to 'src/client/views/pdf/PDFAnnotationLayer.tsx')
-rw-r--r-- | src/client/views/pdf/PDFAnnotationLayer.tsx | 7 |
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 |