Skip to content
This repository has been archived by the owner on Nov 10, 2020. It is now read-only.

Commit

Permalink
Merge pull request #151 from tahnik/hotfix2
Browse files Browse the repository at this point in the history
Fixed column not appearing correctly when there is not comments
  • Loading branch information
tahnik authored Aug 6, 2017
2 parents 35cd110 + 2464d42 commit 8466b06
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app/src/main/js/components/comments/comments.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,11 @@ class Comments extends Component {
return (
<div className="comments_container">
{
comments.length === 0 ? <h4>No comments</h4> : null
comments.length === 0 ?
<div style={{ width: `${theme.column.width}px` }}>
<h4>No comments</h4>
</div>
: null
}
{
comments.map(comment => (
Expand Down

0 comments on commit 8466b06

Please sign in to comment.