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

fix(button): adjust small variant icon usage #1422

Merged
merged 2 commits into from
Nov 17, 2023
Merged

Conversation

cooper-joe
Copy link
Member

@cooper-joe cooper-joe commented Nov 15, 2023

Fixes UX-156


Description

  • Adjusts storybook examples and adds new stories to demonstrate 16px icon usage for Button type small.
  • Minor style adjustments to small button styles.
  • Clarifies icon size usage in documentation.

Note: This change does not enforce 16px icon size for Button size small (via max-height etc.), as doing so would be a visual breaking change for components in use.


Checklist

  • API docs are generated
  • Tests were added
  • Storybook demos were added

All points above should be relevant for feature PRs. For bugfixes, some points might not be relevant. In that case, just check them anyway to signal the work is done.


Screenshots

Before:
image

After:
image

@cooper-joe cooper-joe requested a review from a team as a code owner November 15, 2023 11:28
@dhis2-bot
Copy link
Contributor

🚀 Deployed on https://pr-1422--dhis2-ui.netlify.app

@dhis2-bot dhis2-bot temporarily deployed to netlify November 15, 2023 11:32 Inactive
Copy link

cypress bot commented Nov 15, 2023

Passing run #3102 ↗︎

0 583 0 0 Flakiness 0

Details:

docs(button): clarify icon size usage
Project: ui Commit: ec63ac31d0
Status: Passed Duration: 06:42 💡
Started: Nov 15, 2023 11:34 AM Ended: Nov 15, 2023 11:41 AM

Review all test suite changes for PR #1422 ↗︎

@cooper-joe cooper-joe merged commit ca5a5de into master Nov 17, 2023
17 checks passed
@cooper-joe cooper-joe deleted the fix-small-buttons branch November 17, 2023 11:59
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.

4 participants