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
.card-body
.d-flex

View file

@ -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"