From da09266f5eede3796bb150ccd9d6a173e90354a4 Mon Sep 17 00:00:00 2001 From: Matias Capeletto Date: Tue, 24 Nov 2020 08:11:35 +0100 Subject: [PATCH] fix: some color in code block not working as expected (#143) --- src/client/theme-default/styles/code.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client/theme-default/styles/code.css b/src/client/theme-default/styles/code.css index c3a23cb0bd49..a22c69870eae 100644 --- a/src/client/theme-default/styles/code.css +++ b/src/client/theme-default/styles/code.css @@ -70,7 +70,7 @@ div[class*='language-'] { } .highlight-lines .highlighted { - background-color: rgba(0, 0, 0, 66%); + background-color: rgba(0, 0, 0, 0.66); } /* Line numbers mode */ @@ -89,7 +89,7 @@ div[class*='language-'].line-numbers-mode { line-height: 1.5; font-size: var(--code-font-size); padding: var(--code-padding-vertical) 0; - border-right: 1px solid rgba(0,0,0,50%); + border-right: 1px solid rgba(0,0,0,0.5); z-index: 4; }