fix: border when course card has an image

This commit is contained in:
Jannat Patel
2025-09-29 15:26:14 +05:30
parent 31f0833629
commit 63c1fe8e75

View File

@@ -5,7 +5,7 @@
style="min-height: 350px"
>
<div
class="w-[100%] h-[168px] bg-cover bg-center bg-no-repeat"
class="w-[100%] h-[168px] bg-cover bg-center bg-no-repeat border-t border-x rounded-t-md"
:style="
course.image
? { backgroundImage: `url('${encodeURI(course.image)}')` }