Skip to content

[Switch] Layout broken when site-wide docs density is applied #23945

@mbrookes

Description

@mbrookes

Current Behavior 😯

image

Expected Behavior 🤔

Layout not to be broken.

Steps to Reproduce 🕹

Steps:

  1. Visit: https://next.material-ui.com/customization/density/ and click the switch
  2. Visit: https://next.material-ui.com/components/switches and view the malformed switches

Metadata

Metadata

Assignees

No one assigned

    Labels

    scope: switchChanges related to the switch.type: bugIt doesn't behave as expected.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions