diff --git a/Views/Slides/Preview.cshtml b/Views/Slides/Preview.cshtml
index 862c6d1..715e9c7 100644
--- a/Views/Slides/Preview.cshtml
+++ b/Views/Slides/Preview.cshtml
@@ -4,7 +4,7 @@
var bgStyle = $"background: {Model.BackgroundColor ?? "#1a1a2e"};";
if (!string.IsNullOrEmpty(Model.BackgroundImage))
{
- bgStyle += $" background-image: url('{Model.BackgroundImage}'); background-size: cover; background-position: center;";
+ bgStyle += $" background-image: url('{Model.BackgroundImage}'); background-size: {Model.BackgroundSize ?? "cover"}; background-position: center; background-repeat: no-repeat;";
}
}