Commit 9cd69037 authored by Patrick H. Lauke's avatar Patrick H. Lauke
Browse files

Merge pull request #18699 from patrickhlauke/disabled-pointer-events

Add pointer-events:none to disabled pagination/pager links
parents 400d09f3 348763d6
Showing with 2 additions and 0 deletions
+2 -0
...@@ -30,6 +30,7 @@ ...@@ -30,6 +30,7 @@
> a { > a {
@include plain-hover-focus { @include plain-hover-focus {
color: $pager-disabled-color; color: $pager-disabled-color;
pointer-events: none;
cursor: $cursor-disabled; cursor: $cursor-disabled;
background-color: $pager-bg; background-color: $pager-bg;
} }
......
...@@ -34,6 +34,7 @@ ...@@ -34,6 +34,7 @@
&.disabled .page-link { &.disabled .page-link {
@include plain-hover-focus { @include plain-hover-focus {
color: $pagination-disabled-color; color: $pagination-disabled-color;
pointer-events: none;
cursor: $cursor-disabled; cursor: $cursor-disabled;
background-color: $pagination-disabled-bg; background-color: $pagination-disabled-bg;
border-color: $pagination-disabled-border; border-color: $pagination-disabled-border;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment