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

demo page misleading #132

Open
RickeyWard opened this issue Dec 25, 2018 · 0 comments
Open

demo page misleading #132

RickeyWard opened this issue Dec 25, 2018 · 0 comments

Comments

@RickeyWard
Copy link

RickeyWard commented Dec 25, 2018

The demo page has additional styles that it doesn't tell you about, you can't get the results in the demo page by copying the code displayed in the demo page. This is confusing.

missing styles are:

.react-toggle {
  margin-right: 8px;
  vertical-align: middle;
}

label, .label-text {
  vertical-align: middle;
  font-weight: normal;
  margin-bottom: 0; /* override bootstrap */
}

and the mark up is missing className="label-text" on the span.

this is not mentioned on the demo page anywhere and is a little frustrating that you have to view the source to the page to figure out what's going on.

I'd like to suggest adding this information to the demo page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant