pointer-events:none
to pseudo elementsIf you attempt to disable a button or link with pointer-events:none
it normally works, but if you have a pseudo before or after element, those elements still cause the button to be clickable.
display:inline-block
and pointer-events:inherit
on the pseudo-elements