From 2fdd2045f010d01a3337e6cf322f1483ae55566c Mon Sep 17 00:00:00 2001 From: Andreas Nedbal Date: Sat, 28 Oct 2023 04:34:49 +0200 Subject: [PATCH] Make comment reaction modal backdrop clickable --- app/assets/stylesheets/_utilities.scss | 5 +++++ app/views/comment/show_reactions.html.haml | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/_utilities.scss b/app/assets/stylesheets/_utilities.scss index 5fe1bbae..c102283c 100644 --- a/app/assets/stylesheets/_utilities.scss +++ b/app/assets/stylesheets/_utilities.scss @@ -25,3 +25,8 @@ .pull-left { float: left; } + +// FIXME: Backport from Bootstrap 5.3, remove once updated +.z-n1 { + z-index: -1; +} diff --git a/app/views/comment/show_reactions.html.haml b/app/views/comment/show_reactions.html.haml index 90ec41fe..690943f8 100644 --- a/app/views/comment/show_reactions.html.haml +++ b/app/views/comment/show_reactions.html.haml @@ -18,4 +18,4 @@ %span= user_screen_name(smile.user, url: false) .modal-footer = button_to t("voc.close"), modal_close_path, method: :get, class: "btn btn-default" - .modal-backdrop.fade.show + = link_to "", modal_close_path, method: :get, class: "modal-backdrop fade show z-n1"