From 2fafaabe402c78dc58c096f41bc128e82dc14eca Mon Sep 17 00:00:00 2001 From: Kevin Papst Date: Sun, 25 Jan 2026 11:53:35 +0100 Subject: [PATCH] improve license screen --- templates/about/license.html.twig | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/templates/about/license.html.twig b/templates/about/license.html.twig index 3f167c982..05470f819 100644 --- a/templates/about/license.html.twig +++ b/templates/about/license.html.twig @@ -118,13 +118,12 @@ {% endblock %} {% endembed %} - {% embed '@theme/embeds/card.html.twig' %} + {% embed '@theme/embeds/card.html.twig' with { bodyScrollable: true } %} + {% block box_attributes %}style="max-height: 50rem"{% endblock %} {% block box_class %}card-lg{% endblock %} - {% block box_body_class %}markdown card-body-scrollable{% endblock %} - {% block box_body %} -

License

-
{{ license|nl2br|replace({'
': ''})|raw }}
- {% endblock %} + {% block box_body_class %}markdown{% endblock %} + {% block box_title %}License{% endblock %} + {% block box_body %}{{ license|nl2br }}{% endblock %} {% endembed %}