Skip to content

Commit

Permalink
Make code selections visible
Browse files Browse the repository at this point in the history
  • Loading branch information
laCour committed Jun 30, 2016
1 parent 3aff17a commit 99b1a5b
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions scss/modules/messaging/_code.scss
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ code {
border: 1px solid $color-shade-dark;
color: $base-font-color;

pre {
background: transparent;
}

div.CodeMirror-cursor {
border-left: 1px solid $base-font-color;
}
Expand Down Expand Up @@ -179,11 +183,11 @@ div.CodeMirror span {
}

.CodeMirror-selected {
background: $color-base;
background: $color-shade-lightest;
}

.CodeMirror-focused .CodeMirror-selected {
background: $color-base;
background: $color-shade-lightest;
}

.cm-searching {
Expand Down

0 comments on commit 99b1a5b

Please sign in to comment.