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
committerThibG <thib@sitedethib.com>2020-08-17 15:46:18 +0200
commit5dcc406abee23ff8a5a88b5646550ea266e3bf49 (patch)
treeaf41d3ba35f2024932694e9b948b0190a0970f28 /app/javascript/flavours/glitch/features/compose/components/search_results.js
parentd4b65193c76cbaf2d5353f33a451dc5e1e5c663c (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>
     );
   };