diff options
author | Asaad Mahmood <asaadmahmoodspin@users.noreply.github.com> | 2016-05-19 18:29:15 +0500 |
---|---|---|
committer | Harrison Healey <harrisonmhealey@gmail.com> | 2016-05-19 09:29:15 -0400 |
commit | 5ea7d9bbef2cf9da229e66bd05af776479e76f56 (patch) | |
tree | 66f32d9114e88e3355e7936251487b774c52c184 /webapp/components/rhs_thread.jsx | |
parent | c868620693c69e2931c3023460eaafd9f6d330b6 (diff) | |
download | chat-5ea7d9bbef2cf9da229e66bd05af776479e76f56.tar.gz chat-5ea7d9bbef2cf9da229e66bd05af776479e76f56.tar.bz2 chat-5ea7d9bbef2cf9da229e66bd05af776479e76f56.zip |
Multiple UI Improvements (#3038)
Diffstat (limited to 'webapp/components/rhs_thread.jsx')
-rw-r--r-- | webapp/components/rhs_thread.jsx | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/webapp/components/rhs_thread.jsx b/webapp/components/rhs_thread.jsx index 2398e5e69..ca5ed2dc8 100644 --- a/webapp/components/rhs_thread.jsx +++ b/webapp/components/rhs_thread.jsx @@ -17,6 +17,14 @@ import Scrollbars from 'react-custom-scrollbars'; import React from 'react'; +export function renderView(props) { + return ( + <div + {...props} + className='scrollbar--view' + />); +} + export function renderThumbHorizontal(props) { return ( <div @@ -211,6 +219,7 @@ export default class RhsThread extends React.Component { autoHideDuration={500} renderThumbHorizontal={renderThumbHorizontal} renderThumbVertical={renderThumbVertical} + renderView={renderView} > <div className='post-right__scroll'> <RootPost |