Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BB-9429] fix: course image height on IOS Safari #5

Conversation

Cup0fCoffee
Copy link
Member

Changes the approach that was implemented in #4, while keeping the result the same, based on the discussion on the upstream PR - openedx#553.

Course thumbnails on IOS Safari stretch to the full height of the image,
instead of being limited by width and preserving aspect ratio. This
seems to be a IOS Safari specific behavior[1].

Learner dashboard MFE uses a custom implementation of CourseCardImage,
because the one in Paragon currently doesn't allow the image to be
clickable. Because of that, we are fixing this issue in this repo for
now, instead of fixing it in Paragon, until Paragon updates their
implementation and this repo is updated to use a newer version of
Paragon.

1: https://stackoverflow.com/a/44250830
@Cup0fCoffee Cup0fCoffee merged commit f2b9f78 into opencraft-release/redwood.1-krach-institute Feb 15, 2025
3 checks passed
@Cup0fCoffee Cup0fCoffee deleted the maxim/bb-9429-fix-course-image-height-on-ios branch February 15, 2025 19:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant