diff --git a/web_src/less/_markdown.less b/web_src/less/_markdown.less index 78a0d3a1585..da542432d79 100644 --- a/web_src/less/_markdown.less +++ b/web_src/less/_markdown.less @@ -371,21 +371,13 @@ code, tt { - padding: .2em 0; + padding: .2em .3em; margin: 0; font-size: 85%; background-color: rgba(0, 0, 0, .04); border-radius: 3px; } - code:before, - code:after, - tt:before, - tt:after { - letter-spacing: -.2em; - content: "\00a0"; - } - code br, tt br { display: none; diff --git a/web_src/less/themes/theme-arc-green.less b/web_src/less/themes/theme-arc-green.less index a979149c558..9aa077ab720 100644 --- a/web_src/less/themes/theme-arc-green.less +++ b/web_src/less/themes/theme-arc-green.less @@ -1584,6 +1584,11 @@ body .xdsoft_datetimepicker { border-left-color: #888; } +.markdown:not(code) code, +.markdown:not(code) tt { + background-color: rgba(0, 0, 0, .12); +} + footer .container .links > * { border-left-color: #888; }