Skip to content

Conversation

@marek-mihok
Copy link
Contributor

@marek-mihok marek-mihok commented Sep 13, 2023

The PR fulfills these requirements: (check all the apply)

  • It's submitted to the main branch.
  • When resolving a specific issue, it's referenced in the PR's title (e.g. feat: Add a button #xxx, where "xxx" is the issue number).
  • When resolving a specific issue, the PR description includes Closes #xxx, where "xxx" is the issue number.
  • If changes were made to ui folder, unit tests (make test) still pass.
  • New/updated tests are included

image

Closes #2121

@marek-mihok marek-mihok marked this pull request as ready for review September 13, 2023 13:04
Copy link
Collaborator

@mturoci mturoci left a comment

Choose a reason for hiding this comment

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

Thanks @marek-mihok.

  • What's the reason for not using the existing Fluent.PrimaryButton instead of mimicking it with custom styles?
  • The colors doesn't look good on other themes.
  • Make this part of our visual regression testing by including the primary icon button within md docs.

@marek-mihok
Copy link
Contributor Author

What's the reason for not using the existing Fluent.PrimaryButton instead of mimicking it with custom styles?

@mturoci the primary button with icon only is much wider than icon button (it has horizontal padding)

@mturoci
Copy link
Collaborator

mturoci commented Sep 14, 2023

I don't understand. That's the point of the issue, isn't it? If primary=True, render a primary button. The padding is specific to primary button styles which is desired - so that people understand it's primary.

@marek-mihok marek-mihok requested a review from mturoci September 18, 2023 09:17
@mturoci mturoci merged commit 4bc771d into main Sep 18, 2023
@mturoci mturoci deleted the feat/issue-2121 branch September 18, 2023 09:29
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.

Primary button UI without label

2 participants