Fix layout of "Show all questions from this user" page

This commit is contained in:
Andreas Nedbal 2023-12-09 22:50:46 +01:00 committed by Andreas Nedbal
parent 11535a17a3
commit fda397777e
2 changed files with 3 additions and 4 deletions

View File

@ -1,4 +1,4 @@
.card.question--fixed{ class: hidden ? 'question--hidden' : '', tabindex: hidden ? -1 : '', aria: { hidden: hidden } } .card.question--sticky
.container .container
.card-body .card-body
.d-flex .d-flex

View File

@ -1,8 +1,7 @@
- provide(:title, generate_title(t(".title", author_identifier: params[:author_identifier].truncate(32)))) - 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]
= render "header", author_identifier: params[:author_identifier], hidden: true
.container-lg.container--main .container-lg.question-page
- @questions.each do |q| - @questions.each do |q|
= render "shared/question", q:, type: "moderation" = render "shared/question", q:, type: "moderation"