From 1cf877bf76e119fe0d9e3d524dce10810f6d6fc4 Mon Sep 17 00:00:00 2001 From: raluka Date: Mon, 5 Oct 2015 13:28:35 +0200 Subject: [PATCH] grooming style --- app/assets/stylesheets/osem.css.scss | 4 ++-- app/views/admin/comments/_all_comments.html.haml | 2 +- app/views/admin/comments/_posted_comments.html.haml | 2 +- app/views/admin/comments/_unread_comments.html.haml | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/assets/stylesheets/osem.css.scss b/app/assets/stylesheets/osem.css.scss index 69f0fae0..03c221da 100644 --- a/app/assets/stylesheets/osem.css.scss +++ b/app/assets/stylesheets/osem.css.scss @@ -74,11 +74,11 @@ p.comment-body { } /* comments views pane: use padding-bottom before next comment box */ -.panel.panel-default .panel-body .box { +.panel.panel-default .panel-body .notifications { padding-bottom: 20px; } /* comments views pane: use padding-bottom after each comment */ -.panel.panel-default .panel-body .box p { +.panel.panel-default .panel-body .notifications p { padding-bottom: 20px; } diff --git a/app/views/admin/comments/_all_comments.html.haml b/app/views/admin/comments/_all_comments.html.haml index c7a78cf8..02ad15e8 100644 --- a/app/views/admin/comments/_all_comments.html.haml +++ b/app/views/admin/comments/_all_comments.html.haml @@ -4,7 +4,7 @@ %h4.title.panel-title= conference.title .panel-body - events.each do |event, comments| - .box + .notifications %h4.title= link_to event.title, admin_conference_event_path(event.conference.short_title, event) %hr - comments.each do |comment| diff --git a/app/views/admin/comments/_posted_comments.html.haml b/app/views/admin/comments/_posted_comments.html.haml index 45f3fe2e..89c90519 100644 --- a/app/views/admin/comments/_posted_comments.html.haml +++ b/app/views/admin/comments/_posted_comments.html.haml @@ -4,7 +4,7 @@ %h4.title.panel-title= conference.title .panel-body - events.each do |event, comments| - .box + .notifications %h4.title= link_to event.title, admin_conference_event_path(event.conference.short_title, event) %hr - comments.each do |comment| diff --git a/app/views/admin/comments/_unread_comments.html.haml b/app/views/admin/comments/_unread_comments.html.haml index 60ad80dc..9291aa83 100644 --- a/app/views/admin/comments/_unread_comments.html.haml +++ b/app/views/admin/comments/_unread_comments.html.haml @@ -4,7 +4,7 @@ %h4.title.panel-title= conference.title .panel-body - events.each do |event, comments| - .box + .notifications %h4.title= link_to event.title, admin_conference_event_path(event.conference.short_title, event) %hr - comments.each do |comment|