Skip to content

demo page misleading #132

@RickeyWard

Description

@RickeyWard

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions