N°3800 - Fix text color in code blocks for the activity entries (also update comment to explain both cases)

This commit is contained in:
Molkobain
2021-09-01 14:29:07 +02:00
parent 65db576654
commit 78eda6a2fc
3 changed files with 11 additions and 20 deletions

View File

@@ -160,13 +160,10 @@ body.ibo-has-fullscreen-descendant {
max-width: max-content;
}
& > code {
color: initial;
}
/* hljs is the CSS class for Highlight.js block codes */
/* Preserve original text color in code blocks, except for the Highlight.js blocks which have their own colors */
& > code,
:not(pre.hljs) code {
color: initial;
color: inherit;
}
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long