Skip to content

Commit

Permalink
fix: copy command line incomplete(.gp part)
Browse files Browse the repository at this point in the history
  • Loading branch information
cotes2020 committed Jan 12, 2023
1 parent 9a011e1 commit 41ed331
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions _sass/addon/syntax.scss
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,13 @@ html {
font-size: $code-font-size;
line-height: 1.4rem;
word-wrap: normal; /* Fixed Safari overflow-x */

/* set the dollar sign to non-selectable */
>.gp:first-child {
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
}
}

table {
Expand All @@ -85,13 +92,6 @@ html {
-o-user-select: none;
user-select: none;
}

/* set the dollar sign to non-selectable */
.gp {
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
}
} /* .highlight */

code {
Expand Down

0 comments on commit 41ed331

Please sign in to comment.