From 67874f1f53c11629279324390d03963565e22dc2 Mon Sep 17 00:00:00 2001 From: Eric Mc Sween Date: Wed, 20 May 2020 10:15:05 -0400 Subject: [PATCH] Merge pull request #2852 from overleaf/cmg-highlight-references-keyboard Fix highlights on reference search not working on key down GitOrigin-RevId: ab123e40e99b66389a725476645a7abb881776ad --- services/web/frontend/stylesheets/app/editor.less | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/services/web/frontend/stylesheets/app/editor.less b/services/web/frontend/stylesheets/app/editor.less index 25794bf04f..0a812cb70b 100644 --- a/services/web/frontend/stylesheets/app/editor.less +++ b/services/web/frontend/stylesheets/app/editor.less @@ -620,7 +620,6 @@ CodeMirror } .search-result-hit { &:hover { - color: @brand-success; cursor: pointer; } border-bottom: 1px solid #ddd; @@ -629,6 +628,9 @@ CodeMirror border-bottom: 1px solid transparent; } border-left: 4px solid transparent; + &.selected-search-result-hit { + color: @brand-success; + } .hit-title { font-size: 1.3em; font-style: italic;