From af4aca14b280140f915c3c54ba2be9e48ba34927 Mon Sep 17 00:00:00 2001 From: Quincy Morgan Date: Mon, 29 Jun 2020 11:33:47 -0400 Subject: [PATCH] Use standard kbd styling for keys in help documentation --- css/80_app.css | 13 ------------- modules/ui/panes/help.js | 2 ++ 2 files changed, 2 insertions(+), 13 deletions(-) diff --git a/css/80_app.css b/css/80_app.css index f7c0e2235..403305755 100644 --- a/css/80_app.css +++ b/css/80_app.css @@ -3746,19 +3746,6 @@ li.issue-fix-item:not(.actionable) .fix-icon { margin-bottom: 20px; } -.help-pane .left-content .body p code { - padding: 3px 4px; - font-size: 12px; - color: #555; - vertical-align: baseline; - background-color: #f6f6f6; - border: solid 1px #ccc; - margin: 0 2px; - border-bottom-color: #bbb; - border-radius: 3px; - box-shadow: inset 0 -1px 0 #bbb; -} - .help-pane .left-content .icon.pre-text { vertical-align: text-top; margin-right: 0; diff --git a/modules/ui/panes/help.js b/modules/ui/panes/help.js index a8ec04471..217fdf903 100644 --- a/modules/ui/panes/help.js +++ b/modules/ui/panes/help.js @@ -271,6 +271,8 @@ export function uiPaneHelp(context) { return { title: t(helpkey + '.title'), html: marked(text.trim()) + .replace(//g, '') + .replace(/<\/code>/g, '<\/kbd>') }; });