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

Tweak design of button component on mobile (and maybe desktop, too) #4411

Open
mia-allers-gds opened this issue Jan 8, 2025 · 1 comment
Labels

Comments

@mia-allers-gds
Copy link

Currently our button components default to full width on smaller (mobile) screens. Because of this, its possible that the buttons are not as noticeable by users — many people have mentioned that they look like banners, not buttons, and this makes them easy to skip over.

Additionally, the top and bottom padding on the full width buttons is quite small which makes the text more difficult to read.

Context

To solve the above issues and to generally improve the look of the buttons, we could:

  • Make them responsive the width of the text, not the screen
  • Improve the padding to make locating the text easier

Alternatives

N/A

Additional information (if applicable)

It would be great to do this around the time of the rebrand rollout, and ahead of the app release. Apps have chunkier buttons than our component and it would be beneficial for users if we brought them closer together

@mia-allers-gds mia-allers-gds added the awaiting triage Needs triaging by team label Jan 8, 2025
@mia-allers-gds
Copy link
Author

@kellylee-gds This is my stab at creating a back log item for button widths. Let me know if it looks ok!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant