From 54d77e0fb329c9aad763468b0ab400f79f98532a Mon Sep 17 00:00:00 2001 From: Christian Beeznest Date: Tue, 10 Feb 2026 13:46:36 -0500 Subject: [PATCH] Internal: Improve cookie banner links rendering and styling --- public/main/admin/questions.php | 2 +- .../template/default/admin/questions.html.twig | 4 ++-- .../Resources/views/Layout/cookie_banner.html.twig | 14 ++++++++++---- 3 files changed, 13 insertions(+), 7 deletions(-) diff --git a/public/main/admin/questions.php b/public/main/admin/questions.php index ae40e90198b..632f402cc6a 100644 --- a/public/main/admin/questions.php +++ b/public/main/admin/questions.php @@ -1019,7 +1019,7 @@ function build_question_type_icon_html(int $type): string if (!empty($deleteUrl)) { $question->questionData .= Display::url( - get_lang('Delete'), + Display::getMdiIcon(ActionIcon::DELETE, 'ch-tool-icon text-white', null, ICON_SIZE_SMALL, get_lang('Delete')).' '.get_lang('Delete'), $deleteUrl, [ 'class' => 'inline-flex items-center rounded-lg bg-danger px-3 py-1.5 text-sm font-semibold text-white hover:bg-danger/90', diff --git a/public/main/template/default/admin/questions.html.twig b/public/main/template/default/admin/questions.html.twig index 6de3a7cd942..3ecb49e3470 100644 --- a/public/main/template/default/admin/questions.html.twig +++ b/public/main/template/default/admin/questions.html.twig @@ -5,7 +5,7 @@