mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-04-23 05:34:43 +00:00
Update buttons.less to disable btn pointer events
Buttons that are disabled are still clickable and can still fire click events (such as hopping up to the top of the page if your anchor href points to "#"). Adding the pointer-events:none property will truly disable the button so situations like this don't happen.
This commit is contained in:
parent
d0e1b56603
commit
e488e709a0
1 changed files with 1 additions and 0 deletions
|
|
@ -42,6 +42,7 @@
|
|||
&[disabled],
|
||||
fieldset[disabled] & {
|
||||
cursor: default;
|
||||
pointer-events: none;
|
||||
.opacity(.65);
|
||||
.box-shadow(none);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue