mirror of
https://github.com/mediacms-io/mediacms.git
synced 2025-11-10 01:18:55 -05: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:
parent
d9dacd8511
commit
cd1a7f912b
@ -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>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user