mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-29 21:52:22 +01:00
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,
|
||||||
&.disabled {
|
&.disabled {
|
||||||
color: $btn-link-disabled-color;
|
color: $btn-link-disabled-color;
|
||||||
|
pointer-events: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
// No need for an active state here
|
// No need for an active state here
|
||||||
|
Loading…
x
Reference in New Issue
Block a user