Skip to content

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

@jurokapsiar

Description

@jurokapsiar

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions