Skip to content

Commit

Permalink
Remove unnecessary pointer-events property
Browse files Browse the repository at this point in the history
The inline controls use to cover the full height of the right-side
of excerpts, not just the visible area occupied by the 'More' and
'Less' links. This is no longer the case.

The use of 'pointer-events' here also caused the 'More' link
to be unresponsive in Microsoft Edge. There may be a difference
in behavior between Edge and FF/Chrome when nested elements
have different pointer-events values, but I haven't verified
this yet.
  • Loading branch information
robertknight committed Dec 18, 2015
1 parent 849e6e2 commit 2abd17b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions h/static/styles/excerpt.scss
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,9 @@
position: absolute;
right: 0;
bottom: 0;
pointer-events: none;
}

.excerpt__toggle-link {
pointer-events: auto;
padding-left: 15px;
background-image: linear-gradient(to right, transparent 0px, white 12px);
}
Expand Down

0 comments on commit 2abd17b

Please sign in to comment.