From 21ac519120da9fc00fdba62053dfe2551098b29c Mon Sep 17 00:00:00 2001 From: Andreas Nedbal Date: Sun, 10 Dec 2023 21:53:44 +0100 Subject: [PATCH] Fix moderation inbox view --- app/views/moderation/inbox/_header.html.haml | 2 +- app/views/moderation/inbox/index.html.haml | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/app/views/moderation/inbox/_header.html.haml b/app/views/moderation/inbox/_header.html.haml index 14d9f868..830583cb 100644 --- a/app/views/moderation/inbox/_header.html.haml +++ b/app/views/moderation/inbox/_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/inbox/index.html.haml b/app/views/moderation/inbox/index.html.haml index 7e400437..82ebf9d4 100644 --- a/app/views/moderation/inbox/index.html.haml +++ b/app/views/moderation/inbox/index.html.haml @@ -1,7 +1,6 @@ - provide(:title, generate_title(t(".title", user: @user.screen_name))) -= render "header", user: @user, hidden: false -= render "header", user: @user, hidden: true += render "header", user: @user .container-lg.container--main #entries