aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/client/views/presentationview/PresentationView.scss7
-rw-r--r--src/client/views/presentationview/PresentationView.tsx2
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);