mirror of
https://github.com/mediacms-io/mediacms.git
synced 2025-10-06 22:32:41 +07:00
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:
@@ -23,6 +23,14 @@
|
|||||||
|
|
||||||
{% include "config/index.html" %}
|
{% 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 %}
|
{% endblock head %}
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
|
|||||||
Reference in New Issue
Block a user