Closed ibrahimjaved12 closed 1 year ago
Netlify Deployments:
www: https://ocw-hugo-themes-www-pr-1246--ocw-next.netlify.app/
Course v2: https://ocw-hugo-themes-course-v2-pr-1246--ocw-next.netlify.app/
@pdpinch Can you please look at the screenshots and confirm the design changes. For desktop view, we have added 2 lines of text per video div
. But for mobile view we have added 4 lines of text.
Thanks @ibrahimjaved12 this looks good. Let's go ahead.
What are the relevant tickets?
Closes https://github.com/mitodl/hq/issues/2408
Description (What does it do?)
div
boxes if they're bigger in length)xs
screen only)max-width
of150px
to img thumbnails. Now for larger thumbnails, thediv
container will not grow bigger.Screenshots (if appropriate):
How to test it
yarn start course
).div
containers eg. try different combination of long names, or very short names, or different size images for thumbnail. Experiment a little, make sure nothing breaks for all screens.Also, we've kept the
font-size
, andline-height
same as before for screens larger than mobile (xs
). Confirm that it works as expected.