# HG changeset patch # User RhodeCode Admin # Date 2024-10-24 12:55:30 # Node ID db0ef0c4a0aa4f90a045bfc2df50f3ee708ab859 # Parent 246ca37996f362d963c19975ba1019016dd2dfd4 fix(css): distinguish code/pre from #message diff --git a/rhodecode/public/css/legacy_code_styles.less b/rhodecode/public/css/legacy_code_styles.less --- a/rhodecode/public/css/legacy_code_styles.less +++ b/rhodecode/public/css/legacy_code_styles.less @@ -287,10 +287,18 @@ div.markdown-block #message { font-family: @text-monospace; font-size: 11px; .border-radius(@border-radius); - background-color: transparent; color: @grey3; } +div.markdown-block code, +div.markdown-block pre { + background-color: transparent; +} + +div.markdown-block #ws, +div.markdown-block #message { + background-color: white; +} div.markdown-block code { border: @border-thickness solid @grey6;