Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Commit

Permalink
fix CSS injection rules for selected elements
Browse files Browse the repository at this point in the history
  • Loading branch information
yoavz committed Aug 21, 2020
1 parent 362a29f commit 2920956
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/css/inject.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
p[data-ctrlf-selected],
li[data-ctrlf-selected] {
ul[data-ctrlf-selected]
ol[data-ctrlf-selected] {
border-style: dashed;
border-color: black;
border-width: 2px;
Expand Down
2 changes: 1 addition & 1 deletion src/js/content.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const checkIfQueryDone = () => {
}
};

// Heuristic to decide whether the element is worth searching or not.
// Heuristic to decide whether the element is worth searching.
const searchableElement = (idx, el) => {
const validToken = (token) => {
if (!token) {
Expand Down

0 comments on commit 2920956

Please sign in to comment.