about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/features/compose/components/search_results.js
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2020-08-17 14:05:59 +0200
committerStarfall <us@starfall.systems>2020-08-25 13:38:19 -0500
commitd9e1060d4eb639877017348560b22ada2f30026a (patch)
tree4ec4c9b03e97cf034d8f9645687629e3e7b101d7 /app/javascript/flavours/glitch/features/compose/components/search_results.js
parentd2bd8f55902474253958aba38e2a09e3d24da14d (diff)
Change styling to always have scrollbar on search results
Diffstat (limited to 'app/javascript/flavours/glitch/features/compose/components/search_results.js')
-rw-r--r--app/javascript/flavours/glitch/features/compose/components/search_results.js8
1 files changed, 5 insertions, 3 deletions
diff --git a/app/javascript/flavours/glitch/features/compose/components/search_results.js b/app/javascript/flavours/glitch/features/compose/components/search_results.js
index fa3487328..bbf997c1f 100644
--- a/app/javascript/flavours/glitch/features/compose/components/search_results.js
+++ b/app/javascript/flavours/glitch/features/compose/components/search_results.js
@@ -125,9 +125,11 @@ class SearchResults extends ImmutablePureComponent {
           <FormattedMessage id='search_results.total' defaultMessage='{count, number} {count, plural, one {result} other {results}}' values={{ count }} />
         </header>
 
-        {accounts}
-        {statuses}
-        {hashtags}
+        <div className='search-results__contents'>
+          {accounts}
+          {statuses}
+          {hashtags}
+        </div>
       </div>
     );
   };