mirror of
https://github.com/twbs/bootstrap.git
synced 2025-03-15 15:29:22 +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:
commit
3a77b01d79
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user