diff options
author | Tyler Schicke <tyler_schicke@brown.edu> | 2019-02-17 07:02:13 -0500 |
---|---|---|
committer | Tyler Schicke <tyler_schicke@brown.edu> | 2019-02-17 07:02:13 -0500 |
commit | 8931f7c15fcf908fdb051e9c3970bc4f0b833dbe (patch) | |
tree | bc2dcd35a9f84607a88063235f685ffe6f44aecb /src/client/views/nodes/DocumentView.tsx | |
parent | f0cff850172c888f6b5b661176fcd921c11cd6a9 (diff) |
Fixed some style stuff
Diffstat (limited to 'src/client/views/nodes/DocumentView.tsx')
-rw-r--r-- | src/client/views/nodes/DocumentView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/DocumentView.tsx b/src/client/views/nodes/DocumentView.tsx index 5e12af972..1db982f87 100644 --- a/src/client/views/nodes/DocumentView.tsx +++ b/src/client/views/nodes/DocumentView.tsx @@ -248,7 +248,7 @@ export class DocumentView extends React.Component<DocumentViewProps> { var height = this.props.Document.GetNumber(KeyStore.NativeHeight, 0); var strheight = height > 0 ? height.toString() + "px" : "100%"; return ( - <div className="node" ref={this._mainCont} style={{ width: strwidth, height: strheight, transformOrigin: "left top", transform: `scale(${this.props.Scaling},${this.props.Scaling})` }} + <div className="documentView-node" ref={this._mainCont} style={{ width: strwidth, height: strheight, transformOrigin: "left top", transform: `scale(${this.props.Scaling},${this.props.Scaling})` }} onContextMenu={this.onContextMenu} onPointerDown={this.onPointerDown} > <JsxParser |