aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Etelej <[email protected]>2018-03-12 20:36:25 +0300
committerXhmikosR <[email protected]>2018-03-12 19:36:25 +0200
commitfb15575ec51782fdc3567813d0e7f058498b02ce (patch)
tree394167abf388611283c5d06cb25616453b151fba
parent5b0e40b62526f576e5f8a3877a7e63a2ed084685 (diff)
downloadbootstrap-fb15575ec51782fdc3567813d0e7f058498b02ce.tar.xz
bootstrap-fb15575ec51782fdc3567813d0e7f058498b02ce.zip
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.
-rw-r--r--scss/_buttons.scss1
1 files changed, 1 insertions, 0 deletions
diff --git a/scss/_buttons.scss b/scss/_buttons.scss
index da6d87916..70a55f340 100644
--- a/scss/_buttons.scss
+++ b/scss/_buttons.scss
@@ -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