about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorkibigo! <marrus-sh@users.noreply.github.com>2017-12-15 12:49:23 -0800
committerkibigo! <marrus-sh@users.noreply.github.com>2017-12-15 12:49:23 -0800
commite677dda07c55f085bcc67cef57ceb024862a729c (patch)
tree6955ad1e1833576672afcf3b20fe4b906c90cfd5 /app
parent40afadfb01198138f665cd4700a1b067291b0464 (diff)
Fixes #244 to make search results scrollable
Diffstat (limited to 'app')
-rw-r--r--app/javascript/flavours/glitch/features/compose/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/flavours/glitch/features/compose/index.js b/app/javascript/flavours/glitch/features/compose/index.js
index 02b97ad00..63c9500b1 100644
--- a/app/javascript/flavours/glitch/features/compose/index.js
+++ b/app/javascript/flavours/glitch/features/compose/index.js
@@ -112,7 +112,7 @@ export default class Compose extends React.PureComponent {
 
           <Motion defaultStyle={{ x: -100 }} style={{ x: spring(showSearch ? 0 : -100, { stiffness: 210, damping: 20 }) }}>
             {({ x }) =>
-              <div className='drawer__inner darker' style={{ transform: `translateX(${x}%)`, visibility: x === -100 ? 'hidden' : 'visible' }}>
+              <div className='drawer__inner darker scrollable optionally-scrollable' style={{ transform: `translateX(${x}%)`, visibility: x === -100 ? 'hidden' : 'visible' }}>
                 <SearchResultsContainer />
               </div>
             }