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

Change Cursor on disabled toggle #32

Merged
merged 3 commits into from
Mar 2, 2019
Merged

Conversation

pfischer1290
Copy link
Collaborator

In order to give a better UX, i want to use the cursor: not-allowed on disabled toggles.

Alternatively I could have add the class 'disabled' directly to toggle-on & toggle off but this would change the button text-color as well, so i preferred to override the { cursor: pointer } set by bootstrap global style with { cursor: not-allowed!important } on toggle-on & toggle-off when the element has an attribute "disabled" which is set by setting <Toggle {...} disabled/>

@coveralls
Copy link

Coverage Status

Coverage remained the same at 98.507% when pulling 8c747c1 on pfischer1290:master into 67b55b3 on arnthor3:master.

@arnthor3 arnthor3 merged commit 73186d9 into arnthor3:master Mar 2, 2019
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

Successfully merging this pull request may close these issues.

None yet

3 participants