diff options
author | Mohammad Amoush <mohammad_amoush@brown.edu> | 2019-07-26 18:54:37 -0400 |
---|---|---|
committer | Mohammad Amoush <mohammad_amoush@brown.edu> | 2019-07-26 18:54:37 -0400 |
commit | 811cb72cdb04b316f19d02c609ad515d6ec0a1b1 (patch) | |
tree | b18a86a360be06a53671ca8f404841e43c69d692 | |
parent | c6da9a2800037a951ea5070b4a77663401c4d00e (diff) |
CleanUp
-rw-r--r-- | src/client/views/presentationview/PresentationView.scss | 7 | ||||
-rw-r--r-- | src/client/views/presentationview/PresentationView.tsx | 2 |
2 files changed, 2 insertions, 7 deletions
diff --git a/src/client/views/presentationview/PresentationView.scss b/src/client/views/presentationview/PresentationView.scss index 5769a1a0a..ee413f379 100644 --- a/src/client/views/presentationview/PresentationView.scss +++ b/src/client/views/presentationview/PresentationView.scss @@ -21,12 +21,7 @@ transition: all .1s; //max-height: 250px; - .jsx-parser { - // height: 300px; - //width: 400px; - // margin-top: 20px; - // overflow-y: scroll; - } + .documentView-node { // height: auto !important; diff --git a/src/client/views/presentationview/PresentationView.tsx b/src/client/views/presentationview/PresentationView.tsx index 273fa5e5f..de6c8ff82 100644 --- a/src/client/views/presentationview/PresentationView.tsx +++ b/src/client/views/presentationview/PresentationView.tsx @@ -834,7 +834,7 @@ export class PresentationView extends React.Component<PresViewProps> { document.removeEventListener("pointerup", this.onPointerUp); } - togglePresView = (e) => { + togglePresView = (e: React.MouseEvent) => { e.stopPropagation(); e.preventDefault(); let width = NumCast(this.curPresentation.width); |