diff --git a/app/assets/stylesheets/comments.scss b/app/assets/stylesheets/comments.scss index e1e79a97c..7ffc6f9d6 100644 --- a/app/assets/stylesheets/comments.scss +++ b/app/assets/stylesheets/comments.scss @@ -5,7 +5,7 @@ } .comment-row { - padding: .5em 0; + padding: .5em 1em; display: flex; &:hover { background: $comment-row-hover; diff --git a/app/assets/stylesheets/panels.scss b/app/assets/stylesheets/panels.scss index 49ce10c3f..b3c57aae7 100644 --- a/app/assets/stylesheets/panels.scss +++ b/app/assets/stylesheets/panels.scss @@ -27,3 +27,8 @@ #profile .panel { max-width: 700px; } + +.panel-no-side-padding { + padding-left: 0px; + padding-right: 0px; +} diff --git a/app/views/comments/_comment.html.slim b/app/views/comments/_comment.html.slim index 3220f7898..021798f68 100644 --- a/app/views/comments/_comment.html.slim +++ b/app/views/comments/_comment.html.slim @@ -6,7 +6,7 @@ .row .col-xs-8 p - strong.text-primary + strong = comment.author.username span.text-muted.space-xs-sides = activity_time_tag comment.updated_at diff --git a/app/views/repositories/show.html.slim b/app/views/repositories/show.html.slim index d4911cb87..6e2833296 100644 --- a/app/views/repositories/show.html.slim +++ b/app/views/repositories/show.html.slim @@ -170,7 +170,7 @@ i.fa.fa-comment | Write a comment - #comments.panel-body + #comments.panel-body.panel-no-side-padding .container-full - if @repository_comments.empty? ' Nobody has left a comment yet.