feat: User rounded corners based on py value USE_ROUNDED_CORNERS

This commit is contained in:
Yiannis Christodoulou
2025-09-25 00:50:10 +03:00
parent 44a44d39f2
commit 380b537d45
8 changed files with 48 additions and 28 deletions
+1
View File
@@ -3,6 +3,7 @@ MediaCMS.site = {
title: "{{PORTAL_NAME}}",
url: '{{FRONTEND_HOST}}',
api: '{{FRONTEND_HOST}}/api/v1',
useRoundedCorners: {% if USE_ROUNDED_CORNERS %}true{% else %}false{% endif %},
theme: {
mode: '{{DEFAULT_THEME}}',
switch: {
-10
View File
@@ -23,16 +23,6 @@
{% 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>