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

Add .disabled class styling for .btn-styles in theme #15482

Merged
merged 1 commit into from
Jan 15, 2015
Merged

Add .disabled class styling for .btn-styles in theme #15482

merged 1 commit into from
Jan 15, 2015

Conversation

liias
Copy link
Contributor

@liias liias commented Jan 2, 2015

Bootstrap itself has .btn-default.disabled styled. IE8 with angularjs has some weird behaviour if anchor has disabled attribute set, so I use disabled class as a workaround and assume the .disabled class styles the buttons the same as disabled attribute would.
See https://github.com/liias/bootstrap/blob/master/less/buttons.less#L46

Bootstrap itself has .btn-default.disabled styled. IE8 with angularjs has some weird behaviour if anchor has disabled attribute set, so I use disabled class as a workaround and assume the .disabled class styles the buttons the same as disabled attribute would.
@mdo mdo added this to the v3.3.2 milestone Jan 2, 2015
@mdo mdo added the css label Jan 2, 2015
@cvrebert cvrebert changed the title Add .disabled class styling for .btn-styles Add .disabled class styling for .btn-styles in theme Jan 2, 2015
mdo added a commit that referenced this pull request Jan 15, 2015
Add .disabled class styling for .btn-styles in theme
@mdo mdo merged commit 6198434 into twbs:master Jan 15, 2015
@juthilo juthilo mentioned this pull request Jan 15, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants