Skip to content

Commit

Permalink
Bug 1876220 - [devtools] Prevent selector highlighter to add new line…
Browse files Browse the repository at this point in the history
… to clipboard when copy/pasting. r=devtools-reviewers,jdescottes.

Differential Revision: https://phabricator.services.mozilla.com/D199707
  • Loading branch information
nchevobbe committed Jan 29, 2024
1 parent d60ce00 commit 859effd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions devtools/client/themes/rules.css
Original file line number Diff line number Diff line change
Expand Up @@ -898,6 +898,8 @@
cursor: pointer;
-moz-context-properties: fill;
fill: var(--theme-icon-dimmed-color);
/* Prevent line break when copy/pasting an entire rule */
user-select: auto;
}

.ruleview-selectorhighlighter:hover {
Expand Down

0 comments on commit 859effd

Please sign in to comment.