From da8b3384142b8b0714fb7fc35a5ca4a48ed94ed3 Mon Sep 17 00:00:00 2001
From: Andy Rickert <andrew_rickert@brown.edu>
Date: Tue, 16 Jun 2020 14:19:53 -0400
Subject: reset

---
 src/client/views/search/SearchBox.tsx | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

(limited to 'src/client/views/search/SearchBox.tsx')

diff --git a/src/client/views/search/SearchBox.tsx b/src/client/views/search/SearchBox.tsx
index 596a0cac7..afc3e7c8b 100644
--- a/src/client/views/search/SearchBox.tsx
+++ b/src/client/views/search/SearchBox.tsx
@@ -668,6 +668,7 @@ export class SearchBox extends ViewBoxBaseComponent<FieldViewProps, SearchBoxDoc
                             }
                             const highlights = Array.from([...Array.from(new Set(result[1]).values())]);
                             let lines = new List<string>(result[2]);
+                            result[0]._height=46;
                             result[0].lines=lines;
                             result[0].highlighting=highlights.join(", ");
                             this._visibleDocuments[i] = result[0];
@@ -690,7 +691,7 @@ export class SearchBox extends ViewBoxBaseComponent<FieldViewProps, SearchBoxDoc
                             const highlights = Array.from([...Array.from(new Set(result[1]).values())]);
 
                             let lines = new List<string>(result[2]);
-
+                            result[0]._height=46;
                             result[0].lines= lines;
                             result[0].highlighting=highlights.join(", ");
                             if(i<this._visibleDocuments.length){
@@ -724,6 +725,7 @@ export class SearchBox extends ViewBoxBaseComponent<FieldViewProps, SearchBoxDoc
                     //this.bucketcount[0]+=1;
                     const highlights = Array.from([...Array.from(new Set(result[1]).values())]);
                     let lines = new List<string>(result[2]);
+                    result[0]._height=46;
                     result[0].lines= lines;
                     result[0].highlighting=highlights.join(", ");
                     Doc.AddDocToList(this.dataDoc, this.props.fieldKey, result[0]);
@@ -755,6 +757,7 @@ export class SearchBox extends ViewBoxBaseComponent<FieldViewProps, SearchBoxDoc
                         if (!this.blockedTypes.includes(StrCast(result[0].type))){
                         const highlights = Array.from([...Array.from(new Set(result[1]).values())]);
                         let lines = new List<string>(result[2]);
+                        result[0]._height=46;
                         result[0].lines= lines;
                         result[0].highlighting=highlights.join(", ");
                         Doc.AddDocToList(this.dataDoc, this.props.fieldKey, result[0]);
-- 
cgit v1.2.3-70-g09d2

