aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryipstanley <stanley_yip@brown.edu>2019-07-30 19:36:39 -0400
committeryipstanley <stanley_yip@brown.edu>2019-07-30 19:36:39 -0400
commitd267b4fae181d52d3862fe5a2b1a719fdaa180a5 (patch)
treef6c05d353f5259b6806f793e603e22a8be182126
parentf19f98bb5de01fe11015877f4e803322d89b2ae1 (diff)
schema fix
-rw-r--r--src/client/views/collections/CollectionSchemaView.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionSchemaView.tsx b/src/client/views/collections/CollectionSchemaView.tsx
index 0a77008ec..26b9de3e7 100644
--- a/src/client/views/collections/CollectionSchemaView.tsx
+++ b/src/client/views/collections/CollectionSchemaView.tsx
@@ -222,7 +222,7 @@ export class CollectionSchemaView extends CollectionSubView(doc => doc) {
render() {
Doc.UpdateDocumentExtensionForField(this.props.DataDoc ? this.props.DataDoc : this.props.Document, this.props.fieldKey);
return (
- <div className="collectionSchemaView-container" style={{ height: this.props.chromeCollapsed ? "100%" : "calc(100% - 70px", marginTop: this.props.chromeCollapsed ? "0" : "70px", transition: "all .5s" }}>
+ <div className="collectionSchemaView-container" style={{ height: "100%", marginTop: "0", }}>
<div className="collectionSchemaView-tableContainer" onPointerDown={this.onPointerDown} onWheel={this.onWheel} onDrop={(e: React.DragEvent) => this.onDrop(e, {})} ref={this.createTarget}>
{this.schemaTable}
</div>