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

Most requested: display items in columns #2446

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Garneauma
Copy link
Contributor

@Garneauma Garneauma commented Nov 19, 2024

This PR changes the distribution of Most requested items from top to bottom and from left to right instead of from left to right and top to bottom.

Before:
1 2
3 4
5 6

After:
1 4
2 5
3 6

Changes related to WET-488

@Garneauma
Copy link
Contributor Author

Pre-approved upon successful review.

Copy link
Member

@duboisp duboisp left a comment

Choose a reason for hiding this comment

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

Question: see inline.

Note: I reviewed + tested locally and I do confirm the items are re-ordered vertically instead of horizontally.

This change is very perceptible and I do evaluate if as a major change because of the visual change. Additional communication might be required prior to apply this change.

@Ricokola please review and take actions to manage the breaking change. Thanks

Comment on lines +6 to +7
main:not(.container) .gc-most-requested,
div:not(.container) .gc-most-requested {
Copy link
Member

Choose a reason for hiding this comment

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

This don't seem to work as expected. I moved the "gc-most-requested" inside a component and the style was still applied.

Also, I am unable to observe the effect of that style in FF neither in Chrome. What it does? Should we add an additional working example for that edge case?

Copy link
Member

Choose a reason for hiding this comment

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

Alternatively, you can add a style to break bad implementation like undo:

  • the h2 float
  • col-count set to 1
  • No background color.

CSS selector sample: .container .gc-most-request

Comment on lines +6 to +7
main:not(.container) .gc-most-requested,
div:not(.container) .gc-most-requested {
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
main:not(.container) .gc-most-requested,
div:not(.container) .gc-most-requested {
:not(.container) .gc-most-requested {

Comment on lines +6 to +7
main:not(.container) .gc-most-requested,
div:not(.container) .gc-most-requested {
Copy link
Member

Choose a reason for hiding this comment

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

Alternatively, you can add a style to break bad implementation like undo:

  • the h2 float
  • col-count set to 1
  • No background color.

CSS selector sample: .container .gc-most-request

@duboisp duboisp assigned Garneauma and unassigned duboisp Jan 15, 2025
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.

2 participants