aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes
diff options
context:
space:
mode:
authoranika <anika.ahluwalia@gmail.com>2020-12-28 22:01:58 -0600
committeranika <anika.ahluwalia@gmail.com>2020-12-28 22:01:58 -0600
commit6b211be7c96a3d7f275509d094d9e96dd6dff6ba (patch)
tree05c4f413cf530df5a1a29d12d2764c18305b430c /src/client/views/nodes
parent4c572c61dabf9032853019a9287ddf5f1dd5863b (diff)
more cleaning
Diffstat (limited to 'src/client/views/nodes')
-rw-r--r--src/client/views/nodes/FilterBox.scss6
-rw-r--r--src/client/views/nodes/FilterBox.tsx4
2 files changed, 6 insertions, 4 deletions
diff --git a/src/client/views/nodes/FilterBox.scss b/src/client/views/nodes/FilterBox.scss
index 62f972218..6d72af679 100644
--- a/src/client/views/nodes/FilterBox.scss
+++ b/src/client/views/nodes/FilterBox.scss
@@ -3,7 +3,7 @@
text-align: left;
.filterBox-flyout-facet {
- background-color: lightgray;
+ background-color: white;
text-align: left;
display: inline-block;
position: relative;
@@ -106,7 +106,8 @@
.filterBox-select-box {
margin-right: 2px;
font-size: 30px;
- border: none;
+ border: 0;
+ background: transparent;
}
.filterBox-selection {
@@ -167,6 +168,7 @@
.filterBox-tree {
display: inline-block;
width: 100%;
+ margin-bottom: 10px;
//height: calc(100% - 30px);
}
} \ No newline at end of file
diff --git a/src/client/views/nodes/FilterBox.tsx b/src/client/views/nodes/FilterBox.tsx
index 95ffc6f8c..dec6f67d8 100644
--- a/src/client/views/nodes/FilterBox.tsx
+++ b/src/client/views/nodes/FilterBox.tsx
@@ -207,7 +207,7 @@ export class FilterBox extends ViewBoxBaseComponent<FieldViewProps, FilterBoxDoc
</label>)}
</div>;
- const newFlyout = <div className="filterBox-flyout" style={{ width: `100%`, height: this.props.PanelHeight() - 30 }} onWheel={e => e.stopPropagation()}>
+ const newFlyout = <div className="filterBox-flyout" style={{ width: `100%` }} onWheel={e => e.stopPropagation()}>
{this._allFacets.map(facet => <label className="filterBox-flyout-facet" key={`${facet}`} onClick={e => this.facetClick(facet)}>
<input type="checkbox" onChange={e => { }} checked={DocListCast(this.props.Document[this.props.fieldKey]).some(d => d.title === facet)} />
<span className="checkmark" />
@@ -279,7 +279,7 @@ export class FilterBox extends ViewBoxBaseComponent<FieldViewProps, FilterBoxDoc
removeDocument={returnFalse}
addDocument={returnFalse} />
</div>
- <Flyout className="filterBox-flyout" anchorPoint={anchorPoints.LEFT_TOP} content={flyout}>
+ <Flyout className="filterBox-flyout" anchorPoint={anchorPoints.LEFT_TOP} content={newFlyout}>
<div className="filterBox-addWrapper">
<div className="filterBox-addFilter"> + add a filter</div>
</div>