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

[Bug]: Switch indicator needs to have line-height set to 0 #25505

Closed
2 tasks done
jurokapsiar opened this issue Nov 3, 2022 · 0 comments · Fixed by #25507
Closed
2 tasks done

[Bug]: Switch indicator needs to have line-height set to 0 #25505

jurokapsiar opened this issue Nov 3, 2022 · 0 comments · Fixed by #25507

Comments

@jurokapsiar
Copy link
Contributor

jurokapsiar commented Nov 3, 2022

Library

React Components / v9 (@fluentui/react-components)

System Info

Teams

Are you reporting Accessibility issue?

No response

Reproduction

https://codesandbox.io/s/react-switch-line-height-issue-5cd2w9

Bug Description

Actual Behavior

image

Expected Behavior

Siwtch indicator needs to be centered even in apps that send its own line-height

Logs

No response

Requested priority

Blocking

Products/sites affected

Teams

Are you willing to submit a PR to fix?

no

Validations

  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • The provided reproduction is a minimal reproducible example of the bug.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants