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.
This commit is contained in:
Yiannis Christodoulou 2025-10-03 11:28:43 +03:00
parent d9dacd8511
commit cd1a7f912b

View File

@ -23,6 +23,14 @@
{% include "config/index.html" %}
{% if not USE_ROUNDED_CORNERS %}
<style>
.viewer-container .player-container, .item-thumb, a.item-thumb {
border-radius: revert !important;
}
</style>
{% endif %}
{% endblock head %}
</head>