Skip to content

Commit

Permalink
Theme: Set user-select: none; on "Rerun" link and "runtime"
Browse files Browse the repository at this point in the history
Tripple-clicking to select a test result line and copying to clipboard
now yields:

> example: my test (5)

Instead of:

> example: my test (5)Rerun0 ms
  • Loading branch information
Krinkle committed Jul 13, 2024
1 parent 5ee5ae0 commit 6becc19
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/qunit.css
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,7 @@ body {
padding: 0.5em;
color: inherit;
text-decoration: underline;
user-select: none;
}
#qunit-tests li a:hover,
#qunit-tests li a:focus {
Expand All @@ -334,6 +335,7 @@ body {
#qunit-tests li .runtime {
float: right;
font-size: smaller;
user-select: none;
}

.qunit-assert-list {
Expand Down

0 comments on commit 6becc19

Please sign in to comment.