css fix for background color

This commit is contained in:
2024-02-21 21:46:44 +01:00
parent 5014369c3c
commit ed3151ce94
+6 -3
View File
@@ -3,8 +3,11 @@
body { body {
{% if background.image %} {% if background.image %}
background-image: url('{{background.image.url}}'); background-image: url('{{background.image.url}}');
{% if not background.repeat %}background-repeat: no-repeat;{% endif %} {% endif %}
{% else %} {% if not background.repeat %}
background-color: {{background.color}} !important; background-repeat: no-repeat;
{% endif %}
{% if background.color %}
background-color: {{background.color}} !importent;
{% endif %} {% endif %}
} }