diff options
| author | andrewdkim <adkim414@gmail.com> | 2020-02-22 15:00:52 -0500 |
|---|---|---|
| committer | andrewdkim <adkim414@gmail.com> | 2020-02-22 15:00:52 -0500 |
| commit | ad83dfcfaea5a6b525351b022158ebf5ff1f8c2f (patch) | |
| tree | 32be3b90cb4a71bd6e12280fa184e13e7402a24b /src/client/views/search | |
| parent | 525766cd02ec38174334e62709c36a3b0caa208a (diff) | |
replacing search drag functionality
Diffstat (limited to 'src/client/views/search')
| -rw-r--r-- | src/client/views/search/SearchBox.scss | 2 | ||||
| -rw-r--r-- | src/client/views/search/SearchBox.tsx | 3 |
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 |
