diff options
| author | Eleanor Eng <eleanor_eng@brown.edu> | 2019-06-10 11:53:14 -0400 | 
|---|---|---|
| committer | Eleanor Eng <eleanor_eng@brown.edu> | 2019-06-10 11:53:14 -0400 | 
| commit | a0e4da3339d994ebb31463e7725982db55f794fa (patch) | |
| tree | a26f4ed1c4442ee94bfb9799aed1778564fd353c /src/client/views/collections/CollectionSchemaView.tsx | |
| parent | 23208f830ffcf3e5a43db2da69f645746d03852b (diff) | |
| parent | a2742057084ac0c78ed5f360b1078b5b267eff1f (diff) | |
merge with master
Diffstat (limited to 'src/client/views/collections/CollectionSchemaView.tsx')
| -rw-r--r-- | src/client/views/collections/CollectionSchemaView.tsx | 6 | 
1 files changed, 2 insertions, 4 deletions
| diff --git a/src/client/views/collections/CollectionSchemaView.tsx b/src/client/views/collections/CollectionSchemaView.tsx index 11d71d023..b9e5a5b65 100644 --- a/src/client/views/collections/CollectionSchemaView.tsx +++ b/src/client/views/collections/CollectionSchemaView.tsx @@ -431,14 +431,12 @@ export class CollectionSchemaPreview extends React.Component<CollectionSchemaPre          }      }      render() { -        trace(); -        console.log(this.props.Document);          let input = this.props.previewScript === undefined ? (null) :              <input className="collectionSchemaView-input" value={this.props.previewScript} onChange={this.onPreviewScriptChange}                  style={{ left: `calc(50% - ${Math.min(75, (this.props.Document ? this.PanelWidth() / 2 : 75))}px)` }} />; -        return (<div className="collectionSchemaView-previewRegion" style={{ width: this.props.width() }}> +        return (<div className="collectionSchemaView-previewRegion" style={{ width: this.props.width(), height: "100%" }}>              {!this.props.Document || !this.props.width ? (null) : ( -                <div className="collectionSchemaView-previewDoc" style={{ transform: `translate(${this.centeringOffset}px, 0px)` }}> +                <div className="collectionSchemaView-previewDoc" style={{ transform: `translate(${this.centeringOffset}px, 0px)`, height: "100%" }}>                      <DocumentView Document={this.props.Document} isTopMost={false} selectOnLoad={false}                          addDocument={this.props.addDocument} removeDocument={this.props.removeDocument}                          ScreenToLocalTransform={this.getTransform} | 
