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

Change OCW News mobile(xs) display to horizontal #1184

Merged
merged 5 commits into from
Jul 10, 2023

Conversation

ibrahimjaved12
Copy link
Contributor

@ibrahimjaved12 ibrahimjaved12 commented Jul 7, 2023

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):

image image image image image

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.

@github-actions github-actions bot temporarily deployed to pull request July 7, 2023 10:00 Inactive
@github-actions
Copy link

github-actions bot commented Jul 7, 2023

@github-actions github-actions bot temporarily deployed to pull request July 7, 2023 10:00 Inactive
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@github-actions github-actions bot temporarily deployed to pull request July 7, 2023 11:05 Inactive
@github-actions github-actions bot temporarily deployed to pull request July 7, 2023 11:05 Inactive
@pdpinch
Copy link
Member

pdpinch commented Jul 7, 2023

This is definitely better. I discussed some further improvements with @mbilalmughal but this is good enough to merge.

@github-actions github-actions bot temporarily deployed to pull request July 10, 2023 07:23 Inactive
@github-actions github-actions bot temporarily deployed to pull request July 10, 2023 07:24 Inactive
@ibrahimjaved12 ibrahimjaved12 changed the title Change mobile display to horizontal Change OCW News mobile(xs) display to horizontal Jul 10, 2023
@ibrahimjaved12 ibrahimjaved12 marked this pull request as ready for review July 10, 2023 10:02
@HussainTaj-arbisoft HussainTaj-arbisoft self-assigned this Jul 10, 2023
Copy link
Contributor

@HussainTaj-arbisoft HussainTaj-arbisoft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@ibrahimjaved12 ibrahimjaved12 merged commit d09a8f1 into main Jul 10, 2023
5 checks passed
@ibrahimjaved12 ibrahimjaved12 deleted the ibrahim/1388/ocw-news-redesign-2 branch July 10, 2023 12:59
@odlbot odlbot mentioned this pull request Jul 11, 2023
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants