From cd1a7f912b7987c4a9f158f6969e6f0a43fc0227 Mon Sep 17 00:00:00 2001 From: Yiannis Christodoulou Date: Fri, 3 Oct 2025 11:28:43 +0300 Subject: [PATCH] fix: Add conditional border-radius styling to template Introduces a style block that reverts border-radius for specific elements when USE_ROUNDED_CORNERS is not set. This allows dynamic control of rounded corners based on configuration. --- templates/root.html | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/templates/root.html b/templates/root.html index ccd19d44..6718439b 100644 --- a/templates/root.html +++ b/templates/root.html @@ -23,6 +23,14 @@ {% include "config/index.html" %} + {% if not USE_ROUNDED_CORNERS %} + + {% endif %} + {% endblock head %}