]> cat aescling's git repositories - mastodon.git/commitdiff
Minor cleanup in ScrollableList component
authorThibaut Girka <thib@sitedethib.com>
Wed, 12 Dec 2018 17:02:28 +0000 (18:02 +0100)
committerThibG <thib@sitedethib.com>
Thu, 13 Dec 2018 14:00:36 +0000 (15:00 +0100)
app/javascript/flavours/glitch/components/scrollable_list.js

index a05d49829de187adfe49d981641479c5edf8899f..06d8ecd42fa90abed16587777c16c61681e54014 100644 (file)
@@ -204,7 +204,7 @@ export default class ScrollableList extends PureComponent {
       );
     } else {
       scrollableArea = (
-        <div className={classNames('scrollable', { fullscreen })} ref={this.setRef} style={{ flex: '1 1 auto', display: 'flex', flexDirection: 'column' }}>
+        <div className={classNames('scrollable scrollable--flex', { fullscreen })} ref={this.setRef}>
           {alwaysPrepend && prepend}
 
           <div className='empty-column-indicator'>