-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Closed
Labels
[Feature] UI ComponentsImpacts or related to the UI component systemImpacts or related to the UI component system[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
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
- Demo: https://mmtr.github.io/wordpress-components/#/form-toggle
- Code: https://github.com/mmtr/wordpress-components/blob/master/src/examples/form-toggle.jsx
Expected behavior
It is styled like if the component is rendered inside WordPress.
Desktop:
- OS: macOS High Sierra
- Browser: Chrome
- Version: 67
Additional context
Issue found while working on #8338 and Automattic/wp-calypso#26367
Metadata
Metadata
Assignees
Labels
[Feature] UI ComponentsImpacts or related to the UI component systemImpacts or related to the UI component system[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended