Closed davefoord closed 11 months ago
Has anyone looked at this issue yet? I am assuming that it will be a relatively easy fix - and would be very useful.
Actually - I have managed to work out the CSS that I need to add, to correct this, if that helps you at all:
.dashboard-card .dashboard-card-img { background-position: center; background-size: cover; }
@davefoord I added your code. Thank you.
Describe the bug When a course has a course image attached, any item which shows the image will crop the image focussing on the center of the image. However, if a student follows a link to a course onto which they are not yet enrolled - this shows the course image, but it crops to the top left corner of the image, which looks really odd.
To Reproduce Steps to reproduce the behavior:
Expected behavior Course image should crop to the center of the image, as happens on things like the dashboard, my courses etc.
Your environment (please complete the following information):