From 05a684caa54434148ab191ecbed384b723bb8bf9 Mon Sep 17 00:00:00 2001 From: Rotimi Best Date: Tue, 16 Jun 2026 22:49:38 +0100 Subject: [PATCH] fix(course): preserve cover image aspect ratio in settings preview The preview forced images into a 280x200 box with default object-fit, squeezing non-matching aspect ratios. Use object-cover so the image fills the frame at its true aspect ratio and crops overflow instead. --- apps/dashboard/src/lib/features/course/pages/settings.svelte | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/dashboard/src/lib/features/course/pages/settings.svelte b/apps/dashboard/src/lib/features/course/pages/settings.svelte index a480b911..ccc2f2e1 100644 --- a/apps/dashboard/src/lib/features/course/pages/settings.svelte +++ b/apps/dashboard/src/lib/features/course/pages/settings.svelte @@ -369,10 +369,9 @@
Course cover