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

Increased spacing between River components on mobile viewports #791

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

joshfarrant
Copy link
Contributor

@joshfarrant joshfarrant commented Oct 17, 2024

List of notable changes:

  • Increased River outer padding from var(--base-size-28) to var(--base-size-36) on mobile viewports

What should reviewers focus on?

Steps to test:

Supporting resources (related issues, external links, etc):

Contributor checklist:

  • All new and existing CI checks pass
  • Tests prove that the feature works and covers both happy and unhappy paths
  • Any drop in coverage, breaking changes or regressions have been documented above
  • New visual snapshots have been generated / updated for any UI changes
  • All developer debugging and non-functional logging has been removed
  • Related issues have been referenced in the PR description

Reviewer checklist:

  • Check that pull request and proposed changes adhere to our contribution guidelines and code of conduct
  • Check that tests prove the feature works and covers both happy and unhappy paths
  • Check that there aren't other open Pull Requests for the same update/change

Screenshots:

Please try to provide before and after screenshots or videos

Before After

image

image

Copy link

changeset-bot bot commented Oct 17, 2024

🦋 Changeset detected

Latest commit: 461d00b

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 6 packages
Name Type
@primer/brand-primitives Patch
@primer/react-brand Patch
@primer/brand-e2e Patch
@primer/brand-fonts Patch
@primer/brand-config Patch
@primer/brand-storybook Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Contributor

github-actions bot commented Oct 17, 2024

🔍 Design token changes found

View CSS variable changes
- --brand-River-spacing-outer: var(--base-size-28);
+ --brand-River-spacing-outer: var(--base-size-36);

@joshfarrant joshfarrant force-pushed the joshfarrant/river-mobile-spacing branch from bcde572 to 461d00b Compare October 17, 2024 13:08
@joshfarrant joshfarrant marked this pull request as ready for review October 17, 2024 13:11
Copy link
Contributor

github-actions bot commented Oct 17, 2024

🟢 No visual differences found

Our visual comparison tests did not find any differences in the UI.

@@ -13,7 +13,7 @@
}
},
"outer": {
"value": "var(--base-size-28)",
"value": "var(--base-size-36)",
"responsive": {
"768px": {
"value": "var(--base-size-36)"
Copy link
Collaborator

Choose a reason for hiding this comment

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

You can remove the 768px breakpoint now given it's the same

'@primer/react-brand': patch
---

Increased spacing between `River` components on mobile viewports.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
Increased spacing between `River` components on mobile viewports.
Increased spacing between `River` components on narrow viewports from `28px` to `36px`

Copy link
Collaborator

@rezrah rezrah left a comment

Choose a reason for hiding this comment

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

🙌 Looks great

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.

[Modification request] Increase spacing between River items on Mobile
2 participants