aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/search
diff options
context:
space:
mode:
authorandrewdkim <adkim414@gmail.com>2020-02-22 15:00:52 -0500
committerandrewdkim <adkim414@gmail.com>2020-02-22 15:00:52 -0500
commitad83dfcfaea5a6b525351b022158ebf5ff1f8c2f (patch)
tree32be3b90cb4a71bd6e12280fa184e13e7402a24b /src/client/views/search
parent525766cd02ec38174334e62709c36a3b0caa208a (diff)
replacing search drag functionality
Diffstat (limited to 'src/client/views/search')
-rw-r--r--src/client/views/search/SearchBox.scss2
-rw-r--r--src/client/views/search/SearchBox.tsx3
2 files changed, 3 insertions, 2 deletions
diff --git a/src/client/views/search/SearchBox.scss b/src/client/views/search/SearchBox.scss
index f492ea773..11714748a 100644
--- a/src/client/views/search/SearchBox.scss
+++ b/src/client/views/search/SearchBox.scss
@@ -19,7 +19,7 @@
padding-left: 2px;
padding-right: 2px;
- .searchBox-barChild {
+.searchBox-barChild {
&.searchBox-collection {
flex: 0 1 auto;
diff --git a/src/client/views/search/SearchBox.tsx b/src/client/views/search/SearchBox.tsx
index be13dae03..7628297c0 100644
--- a/src/client/views/search/SearchBox.tsx
+++ b/src/client/views/search/SearchBox.tsx
@@ -234,7 +234,8 @@ export class SearchBox extends React.Component {
y += 300;
}
}
- return Docs.Create.TreeDocument(docs, { _width: 200, _height: 400, backgroundColor: "grey", title: `Search Docs: "${this._searchString}"` });
+ //return Docs.Create.TreeDocument(docs, { _width: 200, _height: 400, backgroundColor: "grey", title: `Search Docs: "${this._searchString}"` });
+ return Docs.Create.SearchDocument(docs, { _width: 200, _height: 400, backgroundColor: "grey", title: `Search Docs: "${this._searchString}"` });
}
@action.bound