0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-20 17:54:23 +01:00

Add pointer-events:none to disabled pager/pagination

In line with usage of `pointer-events:none` for disabled buttons
This commit is contained in:
Patrick H. Lauke 2015-12-27 10:16:07 +00:00
parent b0ec851f80
commit a217db1923
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
}
}
}