diff options
Diffstat (limited to 'webapp/components/post_view')
-rw-r--r-- | webapp/components/post_view/components/post_header.jsx | 12 | ||||
-rw-r--r-- | webapp/components/post_view/components/post_info.jsx | 16 |
2 files changed, 14 insertions, 14 deletions
diff --git a/webapp/components/post_view/components/post_header.jsx b/webapp/components/post_view/components/post_header.jsx index ce67cd653..570a04f8f 100644 --- a/webapp/components/post_view/components/post_header.jsx +++ b/webapp/components/post_view/components/post_header.jsx @@ -53,7 +53,7 @@ export default class PostHeader extends React.Component { ); } - botIndicator = <li className='bot-indicator'>{Constants.BOT_NAME}</li>; + botIndicator = <div className='bot-indicator'>{Constants.BOT_NAME}</div>; } else if (isSystemMessage) { userProfile = ( <UserProfile @@ -75,10 +75,10 @@ export default class PostHeader extends React.Component { } return ( - <ul className='post__header'> - <li className='col col__name'>{userProfile}{colon}</li> + <div className='post__header'> + <div className='col col__name'>{userProfile}{colon}</div> {botIndicator} - <li className='col'> + <div className='col'> <PostInfo post={post} lastPostCount={this.props.lastPostCount} @@ -92,8 +92,8 @@ export default class PostHeader extends React.Component { useMilitaryTime={this.props.useMilitaryTime} isFlagged={this.props.isFlagged} /> - </li> - </ul> + </div> + </div> ); } } diff --git a/webapp/components/post_view/components/post_info.jsx b/webapp/components/post_view/components/post_info.jsx index 06e7b33fd..74ce32817 100644 --- a/webapp/components/post_view/components/post_info.jsx +++ b/webapp/components/post_view/components/post_info.jsx @@ -388,16 +388,16 @@ export default class PostInfo extends React.Component { let options; if (isEphemeral) { options = ( - <li className='col col__remove'> + <div className='col col__remove'> {this.createRemovePostButton()} - </li> + </div> ); } else if (!isPending) { const dropdown = this.createDropdown(isSystemMessage); if (dropdown) { options = ( - <li className='col col__reply'> + <div className='col col__reply'> <div className='dropdown' ref='dotMenu' @@ -406,7 +406,7 @@ export default class PostInfo extends React.Component { </div> {react} {comments} - </li> + </div> ); } } @@ -424,8 +424,8 @@ export default class PostInfo extends React.Component { } return ( - <ul className='post__header--info'> - <li className='col'> + <div className='post__header--info'> + <div className='col'> <PostTime eventTime={post.create_at} sameUser={this.props.sameUser} @@ -442,9 +442,9 @@ export default class PostInfo extends React.Component { isFlagged={this.props.isFlagged} isEphemeral={isEphemeral} /> - </li> + </div> {options} - </ul> + </div> ); } } |