diff --git a/app/assets/javascripts/votes.js.coffee b/app/assets/javascripts/votes.js.coffee index 22f7653b7..0f6dfcfc5 100644 --- a/app/assets/javascripts/votes.js.coffee +++ b/app/assets/javascripts/votes.js.coffee @@ -14,4 +14,5 @@ App.Votes = App.Votes.hoverize "div.votes" App.Votes.hoverize "div.supports" App.Votes.hoverize "div.debate-questions" + App.Votes.hoverize "div.comment-footer" false diff --git a/app/assets/stylesheets/legislation_process.scss b/app/assets/stylesheets/legislation_process.scss index 35426e852..fb2bdecad 100644 --- a/app/assets/stylesheets/legislation_process.scss +++ b/app/assets/stylesheets/legislation_process.scss @@ -870,6 +870,25 @@ $epigraph-line-height: rem-calc(22); float: right; } } + + .comments-wrapper { + position: relative; + + .participation-not-allowed { + padding: 1.25rem 0.5rem; + } + } + + .comment-footer { + position: relative; + + .participation-not-allowed { + font-size: 0.875rem; + height: 50px; + padding: .85rem 0.75rem; + top: -18px; + } + } .comment-input { padding-bottom: 4rem; diff --git a/app/views/legislation/annotations/_comments_box.html.erb b/app/views/legislation/annotations/_comments_box.html.erb index 4553bdf0d..a7b7c3ca7 100644 --- a/app/views/legislation/annotations/_comments_box.html.erb +++ b/app/views/legislation/annotations/_comments_box.html.erb @@ -61,11 +61,15 @@ <% end %> <% else %> -
+ +
+ +
+ <% end %> <% end %>