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

Formatted code, added documentation, and grouped classes together for pages/switches #207

Merged
merged 3 commits into from
Jan 7, 2015

Conversation

mmrtnz
Copy link
Contributor

@mmrtnz mmrtnz commented Jan 7, 2015

Previously the code-examples for pages/switches wrote each component on one line and had separate code-blocks for each mui class. The code-example and js code have been reformatted for better readability and each class (Checkbox, Radio Button, and Toggle) is now displayed side-by-side much like pages/buttons.

…on. Grouped components together similiar to pages/buttons.

@media @device-medium {
.switches-example-group {
width: 33%;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file is a clone of buttons.less with line 16 being the only modification. I made this file so that pages/switches had its own css as opposed to sharing buttons.less with pages/button in case we ever wanted to make style changes to one page and not the other.

hai-cea pushed a commit that referenced this pull request Jan 7, 2015
Formatted code, added documentation, and grouped classes together for pages/switches
@hai-cea hai-cea merged commit b5ec10c into mui:master Jan 7, 2015
@hai-cea
Copy link
Member

hai-cea commented Jan 7, 2015

Thanks 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: switch This is the name of the generic UI component, not the React module!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants