_sass/addon/syntax.scss in jekyll-theme-chirpy-5.4.0 vs _sass/addon/syntax.scss in jekyll-theme-chirpy-5.5.0
- old
+ new
@@ -64,10 +64,17 @@
pre {
margin-bottom: 0;
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 {
td pre {
overflow: visible; /* Fixed iOS safari overflow-x */
@@ -81,16 +88,9 @@
text-align: right;
color: var(--highlight-lineno-color);
-webkit-user-select: none;
-moz-user-select: none;
-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 {