mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 02:28:44 +02:00
N°3800 Fix color for highlighted code blocks
We want content in a simple code tag to be black But the color set by Highligh.js must be kept
This commit is contained in:
@@ -159,7 +159,13 @@ body.ibo-has-fullscreen-descendant {
|
||||
width: unset !important;
|
||||
max-width: max-content;
|
||||
}
|
||||
code {
|
||||
|
||||
& > code {
|
||||
color: initial;
|
||||
}
|
||||
|
||||
/* hljs is the CSS class for Highlight.js block codes */
|
||||
:not(pre.hljs) code {
|
||||
color: initial;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user