Skip to content
This repository has been archived by the owner on Mar 13, 2024. It is now read-only.

Commit

Permalink
Add pointer events none to the header content placeholders to allow t…
Browse files Browse the repository at this point in the history
…he field to always be clickable. Fixes #26
  • Loading branch information
jrmd committed Dec 17, 2018
1 parent 84074f0 commit a4974d9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/styles/components/header/_editor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,8 @@
padding-right: 60px;
padding-left: 60px;
}

// Stop the placeholder from causing capturing mouse events.
.hero-content .editor-rich-text .editor-rich-text__tinymce:not([contenteditable]) {
pointer-events: none;
}

0 comments on commit a4974d9

Please sign in to comment.