mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-14 21:28:11 +02:00
Use standard kbd styling for keys in help documentation
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -271,6 +271,8 @@ export function uiPaneHelp(context) {
|
||||
return {
|
||||
title: t(helpkey + '.title'),
|
||||
html: marked(text.trim())
|
||||
.replace(/<code>/g, '<kbd>')
|
||||
.replace(/<\/code>/g, '<\/kbd>')
|
||||
};
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user