mirror of https://github.com/twbs/bootstrap.git
Disable link functionality on disabled `btn-link` (#25645)
Future-proof disabling of clicks on disabled `btn-link`. Fixes #25639 ensuring consistency between `btn-link` `<button>`s and `<a>`s when disabled.
This commit is contained in:
parent
5b0e40b625
commit
fb15575ec5
|
|
@ -100,6 +100,7 @@ fieldset:disabled a.btn {
|
|||
&:disabled,
|
||||
&.disabled {
|
||||
color: $btn-link-disabled-color;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
// No need for an active state here
|
||||
|
|
|
|||
Loading…
Reference in New Issue