aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Zeleznik <zzzman@gmail.com>2019-12-11 17:57:14 -0500
committerBob Zeleznik <zzzman@gmail.com>2019-12-11 17:57:14 -0500
commit142c77b3a5b6b744b7fdb0e915f78de8ed30e6b0 (patch)
tree86a734ddae612d25288d8dda5c13db65136baa24
parent6c80ac6139324b8069685e392e20e2dbe05d0ae5 (diff)
fixed scroll bar issue with search results
-rw-r--r--src/client/views/search/FilterBox.tsx9
-rw-r--r--src/client/views/search/SearchItem.scss1
2 files changed, 1 insertions, 9 deletions
diff --git a/src/client/views/search/FilterBox.tsx b/src/client/views/search/FilterBox.tsx
index 12e1bc265..684f50766 100644
--- a/src/client/views/search/FilterBox.tsx
+++ b/src/client/views/search/FilterBox.tsx
@@ -62,15 +62,6 @@ export class FilterBox extends React.Component {
super(props);
FilterBox.Instance = this;
}
-
- componentDidMount = () => {
- document.addEventListener("pointerdown", (e) => {
- if (!e.defaultPrevented && e.timeStamp !== this._pointerTime) {
- SearchBox.Instance.closeSearch();
- }
- });
- }
-
setupAccordion() {
$('document').ready(function () {
const acc = document.getElementsByClassName('filter-header');
diff --git a/src/client/views/search/SearchItem.scss b/src/client/views/search/SearchItem.scss
index 9f12994c3..82ff96700 100644
--- a/src/client/views/search/SearchItem.scss
+++ b/src/client/views/search/SearchItem.scss
@@ -203,6 +203,7 @@
.searchBox-placeholder {
min-height: 50px;
margin-left: 150px;
+ width: calc(100% - 150px);
text-transform: uppercase;
text-align: left;
font-weight: bold;