diff options
author | Saturnino Abril <saturnino.abril@gmail.com> | 2017-01-30 18:19:45 +0900 |
---|---|---|
committer | George Goldberg <george@gberg.me> | 2017-01-30 09:19:45 +0000 |
commit | 3e2f879b77b9b9d089bc8f83304b8b21b83c5bd9 (patch) | |
tree | 5e010af013e7cdd19b4b6bae0d8903cd34baafe0 /webapp/components/post_view | |
parent | 65b76c2712eea4daa1633e4652fa3cd51037e854 (diff) | |
download | chat-3e2f879b77b9b9d089bc8f83304b8b21b83c5bd9.tar.gz chat-3e2f879b77b9b9d089bc8f83304b8b21b83c5bd9.tar.bz2 chat-3e2f879b77b9b9d089bc8f83304b8b21b83c5bd9.zip |
Add Floating Timestamp to Right Hand Side on Mobile #5163 (#5201)
Diffstat (limited to 'webapp/components/post_view')
-rw-r--r-- | webapp/components/post_view/components/floating_timestamp.jsx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/webapp/components/post_view/components/floating_timestamp.jsx b/webapp/components/post_view/components/floating_timestamp.jsx index 8974c62c5..642b54c5d 100644 --- a/webapp/components/post_view/components/floating_timestamp.jsx +++ b/webapp/components/post_view/components/floating_timestamp.jsx @@ -37,6 +37,10 @@ export default class FloatingTimestamp extends React.Component { className += ' scrolling'; } + if (this.props.isRhsPost) { + className += ' rhs'; + } + return ( <div className={className}> <div> @@ -50,5 +54,6 @@ export default class FloatingTimestamp extends React.Component { FloatingTimestamp.propTypes = { isScrolling: React.PropTypes.bool.isRequired, isMobile: React.PropTypes.bool, - createAt: React.PropTypes.number + createAt: React.PropTypes.number, + isRhsPost: React.PropTypes.bool }; |