diff options
| author | bobzel <zzzman@gmail.com> | 2022-05-23 22:13:00 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2022-05-23 22:13:00 -0400 |
| commit | 52aa355e4af3f1c5f785dcf1536418119176e5a2 (patch) | |
| tree | b65a917f9169753e5f29d4f822c573c815bf9295 /src/client/views/collections | |
| parent | d50b851d8e92797d214fc35cf243bfb29e970b36 (diff) | |
tweaked pointerEvents for headerBar to stay on if there are no documents in the header so that you can still drag and drop onto it.
Diffstat (limited to 'src/client/views/collections')
| -rw-r--r-- | src/client/views/collections/collectionMulticolumn/CollectionMulticolumnView.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/collections/collectionMulticolumn/CollectionMulticolumnView.tsx b/src/client/views/collections/collectionMulticolumn/CollectionMulticolumnView.tsx index 66cc3613d..345ac7854 100644 --- a/src/client/views/collections/collectionMulticolumn/CollectionMulticolumnView.tsx +++ b/src/client/views/collections/collectionMulticolumn/CollectionMulticolumnView.tsx @@ -324,13 +324,13 @@ export class CollectionMulticolumnView extends CollectionSubView() { render(): JSX.Element { return ( - <div className={"collectionMulticolumnView_contents"} + <div className={"collectionMulticolumnView_contents"} ref={this.createDashEventsTarget} style={{ width: `calc(100% - ${2 * NumCast(this.props.Document._xMargin)}px)`, height: `calc(100% - ${2 * NumCast(this.props.Document._yMargin)}px)`, marginLeft: NumCast(this.props.Document._xMargin), marginRight: NumCast(this.props.Document._xMargin), marginTop: NumCast(this.props.Document._yMargin), marginBottom: NumCast(this.props.Document._yMargin) - }} ref={this.createDashEventsTarget}> + }} > {this.contents} </div> ); |
