diff --git a/_sass/addon/syntax.scss b/_sass/addon/syntax.scss index 78f1d09..6667380 100644 --- a/_sass/addon/syntax.scss +++ b/_sass/addon/syntax.scss @@ -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 { @@ -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 {