summaryrefslogtreecommitdiffstats
path: root/webapp/components/post_view/components/floating_timestamp.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/components/post_view/components/floating_timestamp.jsx')
-rw-r--r--webapp/components/post_view/components/floating_timestamp.jsx7
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
};