diff options
| author | Bob Zeleznik <zzzman@gmail.com> | 2019-04-24 23:17:44 -0400 |
|---|---|---|
| committer | Bob Zeleznik <zzzman@gmail.com> | 2019-04-24 23:17:44 -0400 |
| commit | 575d8b339cdf74cdcb8d46dcd6e627aec2dda636 (patch) | |
| tree | 8d8c89ba997c6a12dce7dd8fd6fa02122f46e9c9 /src/client/views/collections/CollectionTreeView.tsx | |
| parent | 20becbb5ca40350ed85e01f73f29621ba7783bb9 (diff) | |
added borderRadius and fixed a bunch of broken props along the way.
Diffstat (limited to 'src/client/views/collections/CollectionTreeView.tsx')
| -rw-r--r-- | src/client/views/collections/CollectionTreeView.tsx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionTreeView.tsx b/src/client/views/collections/CollectionTreeView.tsx index e0387f4b4..b9d1f0bd9 100644 --- a/src/client/views/collections/CollectionTreeView.tsx +++ b/src/client/views/collections/CollectionTreeView.tsx @@ -136,7 +136,10 @@ export class CollectionTreeView extends CollectionSubView { ); return ( - <div id="body" className="collectionTreeView-dropTarget" onWheel={(e: React.WheelEvent) => e.stopPropagation()} onDrop={(e: React.DragEvent) => this.onDrop(e, {})} ref={this.createDropTarget}> + <div id="body" className="collectionTreeView-dropTarget" + style={{ borderRadius: `${this.props.borderRounding()}px` }} + onWheel={(e: React.WheelEvent) => e.stopPropagation()} + onDrop={(e: React.DragEvent) => this.onDrop(e, {})} ref={this.createDropTarget}> <div className="coll-title"> <EditableView contents={this.props.Document.Title} |
