diff options
author | bob <bcz@cs.brown.edu> | 2019-02-13 10:41:28 -0500 |
---|---|---|
committer | bob <bcz@cs.brown.edu> | 2019-02-13 10:41:28 -0500 |
commit | eca4003366d99d49c2471146b5e2e45b8f0900ff (patch) | |
tree | 58f3b83b9dcda03bb2a2e7a6601a499188ab6c4a | |
parent | 47157f2d95ac1a9541ae313da321d050b073d0a7 (diff) |
from last
-rw-r--r-- | src/client/views/collections/CollectionSchemaView.scss | 4 | ||||
-rw-r--r-- | src/client/views/collections/CollectionSchemaView.tsx | 10 |
2 files changed, 4 insertions, 10 deletions
diff --git a/src/client/views/collections/CollectionSchemaView.scss b/src/client/views/collections/CollectionSchemaView.scss index 7c4726c7b..08b1e9790 100644 --- a/src/client/views/collections/CollectionSchemaView.scss +++ b/src/client/views/collections/CollectionSchemaView.scss @@ -10,7 +10,9 @@ max-height:100%; } .ReactTable { - position: absolute + position: absolute; + display: inline-block; + width: 100%; } .ReactTable .rt-th, .ReactTable .rt-td { max-height: 75px; diff --git a/src/client/views/collections/CollectionSchemaView.tsx b/src/client/views/collections/CollectionSchemaView.tsx index 1d045ac78..302c0c8aa 100644 --- a/src/client/views/collections/CollectionSchemaView.tsx +++ b/src/client/views/collections/CollectionSchemaView.tsx @@ -117,10 +117,7 @@ export class CollectionSchemaView extends CollectionViewBase { } return ( <div onPointerDown={this.onPointerDown} className="collectionSchemaView-container" - style={{ - borderWidth: `${COLLECTION_BORDER_WIDTH}px`, - }} - > + style={{ borderWidth: `${COLLECTION_BORDER_WIDTH}px`, }} > <SplitPane split={"vertical"} defaultSize="60%" style={{ position: "relative", overflow: "none" }}> <ScrollBox> <ReactTable @@ -128,11 +125,6 @@ export class CollectionSchemaView extends CollectionViewBase { pageSize={children.length} page={0} showPagination={false} - style={{ - display: "inline-block", - width: "100%", - postion: "absolute" - }} columns={columns.map(col => { return ( { |