From ed3151ce9449935f7f7b0b73c704d80350bb2ba0 Mon Sep 17 00:00:00 2001 From: Mark Hoekveen Date: Wed, 21 Feb 2024 21:46:44 +0100 Subject: [PATCH] css fix for background color --- playlist/templates/background.css | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/playlist/templates/background.css b/playlist/templates/background.css index 49761f8..0031a7a 100644 --- a/playlist/templates/background.css +++ b/playlist/templates/background.css @@ -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 %} } \ No newline at end of file