Skip to content

Commit

Permalink
Show a pseudo element in the editor below the container
Browse files Browse the repository at this point in the history
* Slightly better than nothing.
  • Loading branch information
Inwerpsel committed Apr 25, 2022
1 parent 9aff1ed commit ce72341
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
1 change: 0 additions & 1 deletion admin/js/editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,4 @@ wp.domReady(() => {
label: 'Expand link',
});
});

});
10 changes: 10 additions & 0 deletions assets/src/styles/editorStyle.scss
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,14 @@
a:not(:first-of-type) {
outline: 2px solid red;
}

&:before {
content: "Entirely clickable";
position: absolute;
bottom: -24px;
left: 8px;
font-size: 14px;
font-style: italic;
color: grey;
}
}

0 comments on commit ce72341

Please sign in to comment.