Skip to content

FormToggle: Component wrongly styled #8871

Closed

Description

Describe the bug
When rendering a FormToggle component outside WordPress, it is displayed with wrong styles because of the lack of the WordPress core styles.

To Reproduce

Expected behavior
It is styled like if the component is rendered inside WordPress.

Screenshots
screen shot 2018-08-11 at 12 34 58
screen shot 2018-08-11 at 12 35 05

Desktop:

  • OS: macOS High Sierra
  • Browser: Chrome
  • Version: 67

Additional context
Issue found while working on #8338 and Automattic/wp-calypso#26367

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    [Feature] UI ComponentsImpacts or related to the UI component system[Type] BugAn existing feature does not function as intended

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions