mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-14 18:42:30 +03:00
Merge pull request #18700 from patrickhlauke/disabled-pointer-events-v3
Add pointer-events:none to disabled pager/pagination
This commit is contained in:
@@ -49,6 +49,7 @@
|
|||||||
color: @pager-disabled-color;
|
color: @pager-disabled-color;
|
||||||
background-color: @pager-bg;
|
background-color: @pager-bg;
|
||||||
cursor: @cursor-disabled;
|
cursor: @cursor-disabled;
|
||||||
|
pointer-events: none; // Future-proof disabling of clicks on `<a>` elements
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -71,6 +71,7 @@
|
|||||||
background-color: @pagination-disabled-bg;
|
background-color: @pagination-disabled-bg;
|
||||||
border-color: @pagination-disabled-border;
|
border-color: @pagination-disabled-border;
|
||||||
cursor: @cursor-disabled;
|
cursor: @cursor-disabled;
|
||||||
|
pointer-events: none; // Future-proof disabling of clicks on `<a>` elements
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user