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 {
{% if background.image %}
background-image: url('{{background.image.url}}');
{% if not background.repeat %}background-repeat: no-repeat;{% endif %}
{% else %}
background-color: {{background.color}} !important;
{% endif %}
{% if not background.repeat %}
background-repeat: no-repeat;
{% endif %}
{% if background.color %}
background-color: {{background.color}} !importent;
{% endif %}
}