From 1af8558cf4933015302fe27cb492a180cb81ffa8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20B=C3=B6hmer?= Date: Sun, 10 Mar 2024 00:19:47 +0100 Subject: [PATCH] Use position: fixed for footer in error pages to get better positioning in the popup details fram --- templates/bundles/TwigBundle/Exception/assets/error.css.twig | 2 +- templates/bundles/TwigBundle/Exception/error.html.twig | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/bundles/TwigBundle/Exception/assets/error.css.twig b/templates/bundles/TwigBundle/Exception/assets/error.css.twig index 0d0a1be6..ffd9e7e9 100644 --- a/templates/bundles/TwigBundle/Exception/assets/error.css.twig +++ b/templates/bundles/TwigBundle/Exception/assets/error.css.twig @@ -59,7 +59,7 @@ ul { .footer { box-sizing: border-box; - position: absolute; + position: fixed; bottom: 0; width: 100%; height: 60px; diff --git a/templates/bundles/TwigBundle/Exception/error.html.twig b/templates/bundles/TwigBundle/Exception/error.html.twig index eb3da877..efdba462 100644 --- a/templates/bundles/TwigBundle/Exception/error.html.twig +++ b/templates/bundles/TwigBundle/Exception/error.html.twig @@ -37,7 +37,7 @@
  • Run php bin/console cache:clear to clear cache
  • {% endblock %} -

    If you think that this is an error in Part-DB, open an Issue on GitHub.

    +

    If you think that this is an error in Part-DB, open an Issue on GitHub.

    You can disable these hints in config/parameters.yaml by setting partdb.error_pages.show_help to false.

    {% endif %} @@ -46,7 +46,7 @@