Skip to content

Commit

Permalink
Set user-select to none for linenumber in editor.
Browse files Browse the repository at this point in the history
Closes #1157.
  • Loading branch information
imolorhe committed Jan 8, 2020
1 parent a66e87b commit c6702b7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/scss/_codemirror.scss
Expand Up @@ -25,6 +25,10 @@
border: 0;
}

.CodeMirror-linenumber {
user-select: none;
}

.CodeMirror-foldmarker {
color: var(--theme-font-color);
text-shadow: none;
Expand Down
1 change: 1 addition & 0 deletions src/scss/components/_editor.scss
Expand Up @@ -33,6 +33,7 @@ app-query-editor {
padding: 3px 5px;
border-radius: 4px;
transition: all .3s ease;
user-select: none;

&:hover {
background: var(--theme-border-color);
Expand Down

0 comments on commit c6702b7

Please sign in to comment.