diff --git a/app/views/moderation/questions/_header.html.haml b/app/views/moderation/questions/_header.html.haml index c8984458..e42f6a4e 100644 --- a/app/views/moderation/questions/_header.html.haml +++ b/app/views/moderation/questions/_header.html.haml @@ -1,4 +1,4 @@ -.card.question--fixed{ class: hidden ? 'question--hidden' : '', tabindex: hidden ? -1 : '', aria: { hidden: hidden } } +.card.question--sticky .container .card-body .d-flex diff --git a/app/views/moderation/questions/show.html.haml b/app/views/moderation/questions/show.html.haml index 48617bf2..934ada11 100644 --- a/app/views/moderation/questions/show.html.haml +++ b/app/views/moderation/questions/show.html.haml @@ -1,8 +1,7 @@ - provide(:title, generate_title(t(".title", author_identifier: params[:author_identifier].truncate(32)))) -= render "header", author_identifier: params[:author_identifier], hidden: false -= render "header", author_identifier: params[:author_identifier], hidden: true += render "header", author_identifier: params[:author_identifier] -.container-lg.container--main +.container-lg.question-page - @questions.each do |q| = render "shared/question", q:, type: "moderation"