Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/scss
diff options
context:
space:
mode:
authorPeter Etelej <peter@etelej.com>2018-03-12 20:36:25 +0300
committerXhmikosR <xhmikosr@gmail.com>2018-03-12 20:36:25 +0300
commitfb15575ec51782fdc3567813d0e7f058498b02ce (patch)
tree394167abf388611283c5d06cb25616453b151fba /scss
parent5b0e40b62526f576e5f8a3877a7e63a2ed084685 (diff)
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.
Diffstat (limited to 'scss')
-rw-r--r--scss/_buttons.scss1
1 files changed, 1 insertions, 0 deletions
diff --git a/scss/_buttons.scss b/scss/_buttons.scss
index da6d87916d..70a55f3409 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