Skip to content

Commit 41ed331

Browse files
committed
fix: copy command line incomplete(.gp part)
1 parent 9a011e1 commit 41ed331

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

_sass/addon/syntax.scss

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,13 @@ html {
6666
font-size: $code-font-size;
6767
line-height: 1.4rem;
6868
word-wrap: normal; /* Fixed Safari overflow-x */
69+
70+
/* set the dollar sign to non-selectable */
71+
>.gp:first-child {
72+
-webkit-user-select: none;
73+
-moz-user-select: none;
74+
user-select: none;
75+
}
6976
}
7077

7178
table {
@@ -85,13 +92,6 @@ html {
8592
-o-user-select: none;
8693
user-select: none;
8794
}
88-
89-
/* set the dollar sign to non-selectable */
90-
.gp {
91-
-webkit-user-select: none;
92-
-moz-user-select: none;
93-
user-select: none;
94-
}
9595
} /* .highlight */
9696

9797
code {

0 commit comments

Comments
 (0)