We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
.gp
1 parent 9a011e1 commit 41ed331Copy full SHA for 41ed331
_sass/addon/syntax.scss
@@ -66,6 +66,13 @@ html {
66
font-size: $code-font-size;
67
line-height: 1.4rem;
68
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
+ }
76
}
77
78
table {
@@ -85,13 +92,6 @@ html {
85
92
-o-user-select: none;
86
93
user-select: none;
87
94
88
-
89
- /* set the dollar sign to non-selectable */
90
- .gp {
91
- -webkit-user-select: none;
- -moz-user-select: none;
- user-select: none;
- }
95
} /* .highlight */
96
97
code {
0 commit comments