aboutsummaryrefslogtreecommitdiff
path: root/src/client/views
diff options
context:
space:
mode:
authorusodhi <61431818+usodhi@users.noreply.github.com>2021-03-18 01:33:56 -0400
committerusodhi <61431818+usodhi@users.noreply.github.com>2021-03-18 01:33:56 -0400
commit5e29ff3ea44ee885bd3a90ecbf4d9cdb11b245f6 (patch)
treee17284b449ae5635f97e52e1e07cbf75ce3f23fb /src/client/views
parenta8c02cba0bf96e435e062f2251890243ad8f49e0 (diff)
why won't this document from hell change height
Diffstat (limited to 'src/client/views')
-rw-r--r--src/client/views/PropertiesView.tsx1
-rw-r--r--src/client/views/nodes/FilterBox.tsx11
2 files changed, 4 insertions, 8 deletions
diff --git a/src/client/views/PropertiesView.tsx b/src/client/views/PropertiesView.tsx
index b4e15b536..1f4685bf2 100644
--- a/src/client/views/PropertiesView.tsx
+++ b/src/client/views/PropertiesView.tsx
@@ -975,6 +975,7 @@ export class PropertiesView extends React.Component<PropertiesViewProps> {
updateFilterDoc={this.updateFilterDoc}
docViewPath={returnEmptyDoclist}
layerProvider={undefined}
+ dontCenter="y"
/>
</div>
}
diff --git a/src/client/views/nodes/FilterBox.tsx b/src/client/views/nodes/FilterBox.tsx
index 2ed3dc21f..01372c284 100644
--- a/src/client/views/nodes/FilterBox.tsx
+++ b/src/client/views/nodes/FilterBox.tsx
@@ -424,7 +424,7 @@ export class FilterBox extends ViewBoxBaseComponent<FieldViewProps, FilterBoxDoc
ContainingCollectionDoc={this.props.ContainingCollectionDoc}
ContainingCollectionView={this.props.ContainingCollectionView}
PanelWidth={this.props.PanelWidth}
- PanelHeight={() => 100}
+ PanelHeight={this.props.PanelHeight}
rootSelected={this.props.rootSelected}
renderDepth={1}
dropAction={this.props.dropAction}
@@ -450,13 +450,8 @@ export class FilterBox extends ViewBoxBaseComponent<FieldViewProps, FilterBoxDoc
removeDocument={returnFalse}
addDocument={returnFalse} />
</div>
- {/* <Flyout className="filterBox-flyout" anchorPoint={anchorPoints.RIGHT_TOP} content={flyout}>
- <div className="filterBox-addWrapper">
- <div className="filterBox-addFilter"> + add a filter</div>
- </div>
- </Flyout> */}
<div className="filterBox-bottom">
- <div className="filterBox-select-matched">
+ {/* <div className="filterBox-select-matched">
<input className="filterBox-select-box" type="checkbox"
onChange={this.changeSelected} />
<div className="filterBox-select-text">select</div>
@@ -465,7 +460,7 @@ export class FilterBox extends ViewBoxBaseComponent<FieldViewProps, FilterBoxDoc
<option value="unmatched" key="unmatched">unmatched</option>
</select>
<div className="filterBox-select-text">documents</div>
- </div>
+ </div> */}
<div style={{ display: "flex" }}>
<div className="filterBox-saveWrapper">