From 2b3b1063a235e317632a9aecdae8dbfa0deaabe9 Mon Sep 17 00:00:00 2001 From: Mingze Xiao Date: Mon, 19 Oct 2020 11:04:33 -0700 Subject: [PATCH] fix(annotations): Fix text blocked by old highlight selection background --- src/lib/viewers/doc/_docBase.scss | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/lib/viewers/doc/_docBase.scss b/src/lib/viewers/doc/_docBase.scss index 30b1c4fd4..0ba601c45 100644 --- a/src/lib/viewers/doc/_docBase.scss +++ b/src/lib/viewers/doc/_docBase.scss @@ -271,6 +271,11 @@ $thumbnail-sidebar-width: 226px; } } + // For legacy Annotations highlight selection + .rangy-highlight { + opacity: .2; + } + ::selection { background-color: fade-out($box-blue, .9); }