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