-
Notifications
You must be signed in to change notification settings - Fork 4
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
Change OCW News mobile(xs) display to horizontal #1184
Conversation
Netlify Deployments: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Device | URL |
---|---|
mobile | https://ocw-hugo-themes-www-pr-1184--ocw-next.netlify.app/ |
Device | URL |
---|---|
mobile | https://ocw-hugo-themes-www-pr-1184--ocw-next.netlify.app/search/ |
Device | URL |
---|---|
mobile | https://ocw-hugo-themes-course-v2-pr-1184--ocw-next.netlify.app/ |
Not what you expected? Are your scores flaky? GitHub runners could be the cause.
Try running on Foo instead
This is definitely better. I discussed some further improvements with @mbilalmughal but this is good enough to merge. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
What are the relevant tickets?
https://github.com/mitodl/hq/issues/1388
Description (What does it do?)
This is a follow up PR to the original issue for some design modification.
Such that currently for small screens(xs), the news images stay a fixed height and tend to go vertical. But we want them to follow the same fashion for small screens as it was originally, i.e, horizontal. This is to help stay consistent with the image sizes and cropping work.
Screenshots (In progress):
How can this be tested?
The overall functionality/layout/design structure has already been tested. For this PR we just want to make sure for smaller screens the view looks correct. Make sure that the changes applied (changed related to numerical values) are actually visible on the page (that they are not overridden by some other properties) and nothing breaks.
For mobile interface (on all sizes where we have one news on display) make sure that no kind of images break the design. I tried testing with 100x100 images and it was ok, you're free to test anything you have in mind too.
You can use the netlify link/local host server and inspect element and add any image link from google in one of the already existing
img
tags to do this.