From a5ec9985b7e9ced23d1215b52b2e01357da4ff7e Mon Sep 17 00:00:00 2001 From: Bob Zeleznik Date: Thu, 19 Mar 2020 16:53:53 -0400 Subject: fixed pivot view filtering --- src/client/views/collections/CollectionTimeView.scss | 2 +- src/client/views/collections/CollectionTimeView.tsx | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/client/views/collections/CollectionTimeView.scss b/src/client/views/collections/CollectionTimeView.scss index 865fc3cd2..310668ad2 100644 --- a/src/client/views/collections/CollectionTimeView.scss +++ b/src/client/views/collections/CollectionTimeView.scss @@ -47,7 +47,7 @@ .collectionTimeView-flyout { width: 400px; - display: inline-block; + display: block; .collectionTimeView-flyout-item { background-color: lightgray; diff --git a/src/client/views/collections/CollectionTimeView.tsx b/src/client/views/collections/CollectionTimeView.tsx index bcfbc7788..ffdfdc641 100644 --- a/src/client/views/collections/CollectionTimeView.tsx +++ b/src/client/views/collections/CollectionTimeView.tsx @@ -253,11 +253,12 @@ export class CollectionTimeView extends CollectionSubView(doc => doc) { ; } + facetWidth = () => { return this._facetWidth } @computed get filterView() { trace(); const facetCollection = Cast(this.props.Document?._facetCollection, Doc, null); const flyout = ( -
e.stopPropagation()}> +
e.stopPropagation()}> {this._allFacets.map(facet =>
- this._facetWidth} Document={facetCollection} /> +
; } -- cgit v1.2.3-70-g09d2