0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-03-13 13:29:25 +01:00

Merge pull request #18700 from patrickhlauke/disabled-pointer-events-v3

Add pointer-events:none to disabled pager/pagination
This commit is contained in:
Patrick H. Lauke 2015-12-29 16:25:02 +00:00
commit 3a77b01d79
2 changed files with 2 additions and 0 deletions

View File

@ -49,6 +49,7 @@
color: @pager-disabled-color;
background-color: @pager-bg;
cursor: @cursor-disabled;
pointer-events: none; // Future-proof disabling of clicks on `<a>` elements
}
}
}

View File

@ -71,6 +71,7 @@
background-color: @pagination-disabled-bg;
border-color: @pagination-disabled-border;
cursor: @cursor-disabled;
pointer-events: none; // Future-proof disabling of clicks on `<a>` elements
}
}
}